Page 1 of 1
MOD54415 restore to factory settings
Posted: Tue Apr 23, 2013 1:26 pm
by nicobari
Hi,
I wanted to change the boot port to 7 but I acted before reading the manual. I guess only UART 0,1 can be used as boot port. So now I am stuck with a MOD54415 which boots up and sends a message "Waiting 5sec to start 'A' to abort" but I can't do anything else. Is there anyway to reset the MOD54415 to default value or it is now a lemon?
Thanks,
TM
Re: MOD54415 restore to factory settings
Posted: Tue Apr 23, 2013 1:54 pm
by dciliske
There is a way. Short the jumper 'TP1' located near the the ethernet jack and power on/reboot your module. This will force it to boot into the alternate monitor. It will configure itself via a read-only factory default config record. You can then run the 'Setup' command to modify your primary config record and change your boot port.
-Dan
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 8:01 am
by nicobari
Thank you
Regards,
TM
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 8:22 am
by nicobari
Also in the runtime libraries it is mentioned that "openserial" will only work with uart 0,1,2 but in serial.cpp file in systems folder of nburn I found that I can define portnum upto 9? is it true?
Regards,
Thank you.
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 10:04 am
by dciliske
This is correct. I have updated the document accordingly. Thanks for the catch.
[Edit]: That said, there is the caveat that uarts 3 and 6 are not pinned out on the module, so while you can open them, you can't actually use them.
-Dan
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 11:49 am
by nicobari
One more question can UART other than 0,1,2 be used as stdio?
Thanks,
TM
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 11:57 am
by dciliske
It depends on what you mean by that. If you're asking about whether you can configure other ports as stdio in the config record and have them come up as the debug port on boot (to abort boot for instance), then the answer is no. If you want to reroute stdio at runtime (using the ReplaceStdio function), then the answer is yes.
Re: MOD54415 restore to factory settings
Posted: Thu Apr 25, 2013 12:05 pm
by nicobari
Thank you. Sorry for the ambiguous question, I meant whether I can use ReplaceStdio with UART 7. Thanks again for the answer.
Regards,
TM