Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inconsistent Errors Writing .hex file on PIC24FJ64GB002
#1
Question 
I have a Hobbytronics USB Host controller that came preloaded with software for using a USB flash drive and I want to change it to have the PS3 dualshock software on it. The website has a guide that recommended this bootloader, but I have been running into issues.

I am connecting to the board through a USB to RS232 cable, but I don't think that is related to the issues because I have checked communications using HyperTerminal and everything seems fine.

When I open up ds30 loader, identify the .hex file I downloaded from Hobbytronics, set the device to PIC24FJ 64GB002 (this is printed on the board), set baudrate to 115200 (on the guide), identify the port to be the correct one, check "write flash", press write, and reset the board, I get a variety of different errors that are different every time. I will do this process a few times and post the text here so you can see.

Initiating write...
Searching for bl . . . . (discarded null byte) .
Found PIC24FJ32GA102 fw ver. 0.0.0
Wrong pic detected(248)/selected(246), aborting
Tx 5 bytes / Rx 4 bytes / 2.3s
Write failed

Initiating write...
Searching for bl . The hardware detected a framing error.
Found unknown device id(767/0x2FF), fw ver. 15.7.12
Tx 1 byte / Rx 3 bytes / 0.5s
Write failed

Initiating write...
Searching for bl . . . . (discarded null byte) . (discarded null byte) (discarded null byte) The hardware detected a framing error.(discarded null byte) (discarded null byte) (discarded null byte) (discarded null byte) (discarded null byte) (discarded null byte) . (discarded null byte) (discarded null byte) (discarded null byte) (discarded null byte) (discarded null byte)
Found unknown device id(736/0x2E0), fw ver. 0.0.0
Tx 6 bytes / Rx 17 bytes / 3.1s
Write failed

Initiating write...
Searching for bl . . . (discarded null byte) (discarded null byte) (discarded null byte) . . The hardware detected a framing error.
Found PIC24FJ128DA206 fw ver. 0.0.0
Wrong pic detected(252)/selected(246), aborting
Tx 5 bytes / Rx 6 bytes / 2.8s
Write failed

Those are just a few examples; it really is different every time. The guide from the Hobbytronics website is using a slightly older build of the ds30 loader (1.4.6 as opposed to my 1.5.5). Could this be an issue?
Also, my window says "write flash" where the guide says "write program". Is this relevant?

You may be able to tell from my vocabulary that I am new to this kind of work; I'm a student working in a research lab. I would appreciate your help!
Reply


Messages In This Thread
Inconsistent Errors Writing .hex file on PIC24FJ64GB002 - by mtuell - 2013-06-21, 20:48:18

Forum Jump:


Users browsing this thread: 1 Guest(s)