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
MOD54415 restore to factory settings
Re: MOD54415 restore to factory settings
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
-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: MOD54415 restore to factory settings
Thank you
Regards,
TM
Regards,
TM
Re: MOD54415 restore to factory settings
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.
Regards,
Thank you.
Re: MOD54415 restore to factory settings
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
[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
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: MOD54415 restore to factory settings
One more question can UART other than 0,1,2 be used as stdio?
Thanks,
TM
Thanks,
TM
Re: MOD54415 restore to factory settings
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.
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: MOD54415 restore to factory settings
Thank you. Sorry for the ambiguous question, I meant whether I can use ReplaceStdio with UART 7. Thanks again for the answer.
Regards,
TM
Regards,
TM