Page 1 of 1

Serial Download

Posted: Wed Apr 08, 2015 8:32 pm
by edgarvb6
Hi All, I have been using netBurner device for a while. However, tonight I ran in to an issue that's driving me crazy!!

I downloaded an application to the device but the app failed, I'm trying to recover the app by downloading the updated code but MTTTY doesn't do anything. I keep following these steps below but it never works.

3. Enter the NetBurner Boot Monitor
- Cycle power (i.e. remove and reapply power) to your NetBurner device. If using a USB connection you may need to use the reset button instead, but a power cycle is the most reliable method. You will see a "Waiting 2sec to start 'A' to abort" message in the MTTTY window.
- Type an uppercase ‘A’ before the time expires to enter the Boot Monitor. You will see the NetBurner prompt (i.e. NB>) in the MTTTY window.
- Type the command “FLA” (FLA stands for Flash Application) and then press the Enter key on your keyboard.
- Send the factory application to your NetBurner device. If you have a development kit it is located in the \nburn\<platform>\original directory, where <platform> is your NetBurner model number. You can use any known good application; the factory original is just a good point of reference. Begin the download in MTTTY by selecting the Transfer --> Send option from the Transfer menu, or by pressing the F5 key on your keyboard.
- A Send File window will appear. Navigate to the location of your known good _APP.s19 file and click on Open or Select button. As your download progresses, "****" characters will appear in the MTTTY window, and the progress bar on the lower left hand side of the window will move towards the right.
- The Boot Monitor will automatically reprogram the application area of the flash and restart your NetBurner device after your download is completed.


The trap error is:

Configured IP = xx.xx.xx.xx
Configured Mask = xx.xx.xx.xx
MAC Address= --
Application started
Initiating Modbus Poll Thread -> Starting of this thread is where the code is failing...
Starting Modbus Thread...

Trap occured
Vector=Access Error FMT =0A SR =2000 FS =08
Faulted PC = 02014D9C
D0:00000001 00000000 0202957E 000000D3 02005C50 0202957E 000000D6 02029866
A0:27F60000 40000204 02000638 000000A3 000000A4 000000A5 0202993E 02029540
Waiting 2sec to start 'A' to abort


What should be my next step?

Thanks,
Ed

Re: Serial Download

Posted: Wed Apr 08, 2015 9:46 pm
by pbreed
What device is this?

You must catch and abort the application start....
IE when you see hit 'A' to abort,
The A must be upper case....

What is your boot delay set to?

If it loads the application and traps its too late...
You must get into the monitor BEFORE it loads the application....
If you set the boot delay to 0 you will probably have to return the module to have it reprogrammed.
If its a MOD5441X or NANO54414 you can use the alternate boot jumper.

Re: Serial Download

Posted: Thu Apr 09, 2015 4:04 am
by edgarvb6
Hey Thanks for your response. I'm using the Mod5270 development board. The Boot Delay should be at factory setting, I have not changed it.

I was able to get the nb> but then I can't type anything. I cycle the power and I'm back to square one...


Thanks for you inputs, I will keep trying...

Ed

Re: Serial Download

Posted: Thu Apr 09, 2015 4:48 am
by pbreed
If you end up in the NB prompt after the trap then its not going to work.
You need to be at the NB prompt BEFORE the trap....


Is it possible that the jumpers on the board are wrong... if you can see but not type serial data then its possible that the jumpers connecting things to the serial input line are not set up in your configuration? Or your serial terminal has flow controlled off due to garbage on the line?

Re: Serial Download

Posted: Thu Apr 09, 2015 5:16 am
by edgarvb6
I will look into the jumper configuration and the flow control. Thanks again!

Keep you posted...

Cano

Re: Serial Download

Posted: Thu Apr 09, 2015 4:59 pm
by edgarvb6
Thank You, the jumpers were the issue. I'm now able to flash via MTTTY.

Thanks again,
Ed