Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ds30loaderconsole without manual reset on MCU [solved]
#3
(2011-03-22, 21:09:50)Mikael Gustafsson Wrote: Hi,
There are three supported ways of doing reset from ds30 Loader. Hardware reset (MCLR) using dtr or rts and software reset using a command on UART or CAN. It's up to your application to accept a reset command and perform the necessary steps to restart the controller. How do you use the UART in your application? Do you have any protocol implemented or do you only use the UART for boot loading?

Hi
Thank you for your reply.
I have my MCU dsPIC remotely located. To control the MCU, I have wavecom GSM modem connect to MCU UART. Then I form a protocol for communication frame format to send and receive for get/set MCU I/O.

Q:
1. By your hint, without using DTR/RTS, I have to write my application to detect the data which can be defined for command reset in frame (send/receive) then call function reset in PIC with "asm(reset)"
or
2. How can I use "-q=a;b" as in example ? "a;b" means I just write my application detect "a;b" then call function "asm(reset)".

If anyone use -q option, your advice is precious
Reply


Messages In This Thread
RE: ds30loaderconsole without manual reset on MCU - by oxtek - 2011-03-23, 06:08:01

Forum Jump:


Users browsing this thread: 3 Guest(s)