new to netburner MOD5441x

Topics for the Eclipse Environment
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

new to netburner MOD5441x

Post by andiso »

hi

I am new oto netburner MOD5441X module with the development kit MOD DEV 70CR

I am working with the NBEclipse
the development kit is connected to the computer with the USB and with the network cable RJ45 directly to the computer.

I tried to run the sample program that has the LED and the TIC TAC TOE program and it was working fine.

I then tried more programs and I succeeded to compile and send them to the module.

but after a few times I suddenly cant download programs to the netburner anymore.
its just getting stack at the sending proccess and then tells time out.

the netburner has an IP so it is being detected by the eclipse.

what can cause such a problem and what can I do to debug it?

thanks
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: new to netburner MOD5441x

Post by ecasey »

There may be a task still running on your computer that is blocking the update.
Try shutting down Eclipse and look a the Task Manager for a task that starts with "m68" or "NB" and kill that task.
Sometimes just re-starting Eclipse will fix it.
If all else fails, disconnect the module from the USB and re-start your computer. That should get you back to the beginning.

If you press Debug or Run while an update is in progress, it can leave a phantom task running.
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

Re: new to netburner MOD5441x

Post by andiso »

ok I tried to do what you told me
I also tried to restart the computer.

but now I have a different problem.


a few projects that I have which are taken from the examples get stuck at the compilation proccess while a few other and even new projects that I try to take from the examples dont compile and give the following error:

**** Build of configuration Release for project proj7 ****

**** Internal Builder is used for build ****
m68k-elf-g++ main.o -Wl,-Map=proj7.map -mcpu=5206e -Wl -Wl,-n -TC:\nburn/MOD5441X/lib/MOD5441X.ld -Wl,-RC:\nburn/MOD5441X/lib/sys.ld -Wl,--start-group,C:\nburn/lib/MOD5441X.a C:\nburn/lib/NetBurner.a C:\nburn/lib/FatFile.a C:\nburn\lib\cryptolib.a C:\nburn\lib\debugLibrary.a C:\nburn\lib\Lua_Full.a C:\nburn\lib\nb-libxively.a C:\nburn\lib\nbwifilib.a C:\nburn\lib\webclient.a -Wl,--end-group -oproj7.elf
m68k-elf-g++: C:\nburn/lib/NetBurner.a: No such file or directory
Build error occurred, build is stopped
Time consumed: 203 ms.




what is this :

C:\nburn/lib/NetBurner.a: No such file or directory


thanks... :)
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: new to netburner MOD5441x

Post by TomNB »

Hello,

That is strange, if you did not have netburner.a you could not have built any projects. Try this:
1. Select your project in the left side Project Navigation window
2. From the main menu bar select NBEclipse -> Rebuild Modified system libraries
3. Now right click on your project and select Clean

Does it build now?
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

Re: new to netburner MOD5441x

Post by andiso »

ok so the problem of the missing netburner.a file was solved using the procedure you gave me.

but still I cannot burn the program.
it keep staying in 0 percent and giving timeout.

yesterday it was working ok.

again,
I still getting an IP address of 168.254.199.78 and when I click on the search button I can see the device is there...

anything I can do?
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

Re: new to netburner MOD5441x

Post by andiso »

we have 2 modules. one of them is working fine and the other one not.

we tried to switch the modules between two computers.

the faulty one stay faulty even on other computer and the good one works on two computers.

so it must be that there is some damage to the module.

but the module is getting IP address and when we connect the USB its been detected.

could it be some kind of bootloader provlem or something?
can we do or check anything to see what happened?

because there was no sign of some electronic damage no brn smell or something like that...

it only stop burning the program suddenly...
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: new to netburner MOD5441x

Post by ecasey »

It sounds like the IP Address for the problem module is not consistent between Eclipse and the Module, or the Module IP is not in the same subnet as the computer.

Try this:

1. Launch IPSetup from the NBEclipse menu and set an unused IP address in the subnet range that your computer is using (if it is not set that way already) and set the other fields to work with your computer's IP settings.
3. Go into the Project menu and select "Properties";
4. Select "NetBurner Options" in the window on the left;
5. Set the "IP Address" to the one in IPSetup;
6. Select "Run/Debug Settings" in the window on the left;
7. Set the Target IP to the same address to the one in IPSetup;
8. Click on the "Debugger" tab;
9. Select the Connection tab under the "Debugger Options" section;
8. Set the "Host Name or IP Address" to the same one as above.
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

Re: new to netburner MOD5441x

Post by andiso »

Thanks for the answer ecassey,

I did it like this:

I set the computer address to be
IP: 192.168.10.5
subnetmask: 255.255.0.0

I gave the netburner IP 192.168.10.10
network mask 255.255.0.0

it still give me time out...
are those correct IP configuration?

I must say that the other module is working real quick.. and with no problems. nomatter what IP I give it...
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: new to netburner MOD5441x

Post by ecasey »

Your IP Setup looks OK. I would set the subnet both the computer and MOD5441x to 255.255.255.0

It now looks like the last program loaded is corrupt and the MOD is not running auto update.
Have a look at this post on how to get around it:

viewtopic.php?f=3&t=1655&hilit=alternate+boot#p7193
andiso
Posts: 16
Joined: Tue Jul 24, 2018 6:28 am

Re: new to netburner MOD5441x

Post by andiso »

ok thanks I looked on the post and I want to make the procedure but I dont undertand how I make it.

is the MOD5441x should be connected to the computer:
with the USB?
with the RJ45?
with both og them?

is the NBEclipse should be open?
where shuold I pres the 'A' and when? is it in the MTTTY application?

its not so clear in the link you gave me...

thanks again for all the help
Post Reply