MOD54415 restore to factory settings

Discussion to talk about hardware related topics only.
Post Reply
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

MOD54415 restore to factory settings

Post 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
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 restore to factory settings

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Re: MOD54415 restore to factory settings

Post by nicobari »

Thank you

Regards,
TM
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Re: MOD54415 restore to factory settings

Post 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.
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 restore to factory settings

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Re: MOD54415 restore to factory settings

Post by nicobari »

One more question can UART other than 0,1,2 be used as stdio?

Thanks,
TM
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 restore to factory settings

Post 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.
Dan Ciliske
Project Engineer
Netburner, Inc
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Re: MOD54415 restore to factory settings

Post 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
Post Reply