Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Found unknown device id [solved]
#5
Hi, Thanks for the answer.

The DEN is the direction control of the data. DEN = 1 is Tx and =0 is Rx(from device side)
TXEN = 1 is the internal transmitter of PIC beeing enabled.
I am nearing a working solution, I can now download hex without errors.
The key was that the bootloader has the reciver open all the time, requering the HW to turn off the Rx driver to prevent the sent data to be looped back.(not the case in my HW) I added some small code in the "Send" routine, setting CREN to 0 during transmit. Could be an improvment for future?

I still have problems, but now its the app not working correctly after beeing programmed by the bootloader.
After using the loader to program the device, neither my app or the loader runs any more.
Any suggestions?
I enlose the program memory readup after using the loader to load the hex.
Thanks, Rigor.


Attached Files
.zip   flash_after_loading.zip (Size: 28.03 KB / Downloads: 2)
Reply


Messages In This Thread
Found unknown device id [solved] - by Rigor69 - 2011-12-26, 00:54:54
RE: Found unknown device id - by Rigor69 - 2011-12-26, 22:48:07
RE: Found unknown device id - by Rigor69 - 2011-12-30, 13:02:25
RE: Found unknown device id - by Rigor69 - 2011-12-31, 15:07:00
RE: Found unknown device id - by Rigor69 - 2012-01-01, 18:47:59

Forum Jump:


Users browsing this thread: 1 Guest(s)