Problems programmin...
 
Notifications
Clear all

Problems programming the 18F4520

26 Posts
10 Users
0 Reactions
14.7 K Views
kingofkya
Posts: 2162
(@kingofkya)
Noble Member
Joined: 15 years ago

I had a enhanced jdm programer. and it never passed that test but the chip did in fact program and work. SO you might want to try it anyways.

Same chip too i think pic18f that is in the simpleRen 32


Reply
Posts: 261
(@hunter310)
Reputable Member
Joined: 17 years ago
Mactayl wrote:From what I can tell the PIC+PRO does not accommodate the PIC18F4520

http://www.ebay.com/itm/-/310121494805?item=310121494805&ViewItem

So, even though the option is there to select the chip, and it was able to read it (to see it was blank) means it isnt supported?

18f4520

I get this error when trying to open any of the Simple 32 FW hex files.

error

Thanks,
Steve E.


Reply
Posts: 87
Topic starter
(@drweird13)
Estimable Member
Joined: 15 years ago

You have to use the fixhex2.exe file.

Open fixhex2.exe
Load the HEX file
It'll save a new copy of the HEX file.
Use the new HEX file in the programmer.

As an update, I never successfully programmed the chip. Ended up ordering a PICKIT 2, waiting on it to come in.


Reply
Posts: 430
(@danonj)
Reputable Member
Joined: 18 years ago

Just for giggles, ever try using MPLAB?


Reply
Posts: 87
Topic starter
(@drweird13)
Estimable Member
Joined: 15 years ago

I went through the 13 included programmer profiles in MPLAB, to see if any would communicate with the programmer. I wasn't able to get anything to work.


Reply
Posts: 246
(@jerryplak)
Reputable Member
Joined: 19 years ago

this is main reason, I keep my PIC2 as the PIC3 don't work with the older chip by the way, you can't write 18F4520 using the PIC3


Reply
Posts: 4086
(@skunberg)
Famed Member
Joined: 18 years ago

I highly recommend the pickit2 also and this seller (j1sys). But the link is for a small pin count adapter. j1sys has the pickit2 with many different adapters, check his store. Not related but he wrote the e131 plugin we use here for pixels.


Reply
Posts: 261
(@hunter310)
Reputable Member
Joined: 17 years ago

Well, it appeared I was able to flash the chip but still cannot get it working. Perhaps it isnt really flashed.
Guess I need to figure out Plan B.

Steve E.


Reply
Posts: 87
Topic starter
(@drweird13)
Estimable Member
Joined: 15 years ago
Hunter310 wrote:Well, it appeared I was able to flash the chip but still cannot get it working. Perhaps it isnt really flashed.
Guess I need to figure out Plan B.

Steve E.

Does it throw any errors when you verify the data on the chip?


Reply
Posts: 261
(@hunter310)
Reputable Member
Joined: 17 years ago

No, it appears to flash OK. But when I plug in my Floods it turns on all LEDs, all channels. Every port. This happens when no data is being sent to the controller.


Reply
Page 2 / 3
Share: