Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dsPIC30F3014 bootloader is failing to write hex file for the second time
#2
(2014-03-12, 17:33:58)giriprasad.n Wrote: Hi,

I am using ds30Loader after making some changes to it. My device is dsPIC30F3014. I am able to write the hex file to the controller for the first time after programming it with bootloader code. After that I am getting an error while I am trying to write hex file to the device. Error is as follows

Initiating write......
Searching for bl.
Found dsPIC33FJ06GS101 fw ver 3..5.0
Wrong pic deteced(100/64)/selected(1/1). aborting
Tx 1 byte / Rx 4 bytes / 0.3s
Write failed


Attaching bootloader code and screenshot of the error message. Please give me any suggestions to resolve the issue.

Thanks & Regards,
Giri

Hi,
I think you didn't define UART pin IO in the file "user_code.inc".
Try this :
;----------------------------------------------------------------------
; Make uart pins digital
;----------------------------------------------------------------------
bclr TRISF,#3 ;TX
bset TRISF,#2 ;RX

see you
see you
Reply


Messages In This Thread
RE: dsPIC30F3014 bootloader is failing to write hex file for the second time - by quick - 2014-03-12, 22:36:29

Forum Jump:


Users browsing this thread: 1 Guest(s)