Search found 29 matches

by cfavreau
Fri Apr 12, 2013 11:01 am
Forum: NetBurner Software
Topic: MOD54415 Apparently Dead After Programming IP Address
Replies: 4
Views: 6347

MOD54415 Apparently Dead After Programming IP Address

I have MOD54415 that I was experimenting with proragramming the IP Address and Netmask. I think I set the IP Address to 0.0.0.0 and the Net Mask to 0.0.0.0. It may have set some other random parameters in the configuration structure. I am not sure. It powers up however and the network appears to ...
by cfavreau
Wed Sep 12, 2012 11:15 am
Forum: NetBurner Hardware
Topic: MOD54415 Memory Map
Replies: 2
Views: 3649

Re: MOD54415 Memory Map

Aha! I was pointed to the right place by tech support. It can be found in the "MOD54415 Platform Reference" guide. I guess it is only available on the CD. Thanks tech support!
by cfavreau
Wed Sep 12, 2012 8:50 am
Forum: NetBurner Hardware
Topic: MOD54415 Memory Map
Replies: 2
Views: 3649

MOD54415 Memory Map

Is there a memory map anywhere in some documentation? I am trying to setup external memory mapped peripherals and am having a hard time figuring out what address space is OK to use and what is not. The processor documentation states that we can use 0x00000000 - 0x3FFFFFF and 0xC0000000 - 0xDFFFFFFF ...
by cfavreau
Thu Aug 16, 2012 2:04 pm
Forum: NetBurner Hardware
Topic: MOD54415 External Bus Issue
Replies: 0
Views: 3844

MOD54415 External Bus Issue

I am having a bit of difficulty setting up the external bus on my Mod54415. Here is my code:


sim2.cs[0].csar = 0xC0000000;
sim2.cs[0].cscr = 0x00000280;
sim2.cs[0].csmr = 0x00000001;


The main issue that when I write anything into these registers the ethernet stops. I have tried CS 1 to 4 and ...
by cfavreau
Wed Aug 15, 2012 1:20 pm
Forum: NetBurner Software
Topic: Eclipse and Compiler Errors - how to fix?
Replies: 2
Views: 3247

Re: Eclipse and Compiler Errors - how to fix?

Thanks! That worked fantastically.
by cfavreau
Wed Aug 08, 2012 8:49 am
Forum: NetBurner Software
Topic: Eclipse and Compiler Errors - how to fix?
Replies: 2
Views: 3247

Eclipse and Compiler Errors - how to fix?

I have a bit of an issue (more of an annoyance). It appears that the compiler and Eclipse have a different idea of what is an error. For example:

char mystring[32];
snprintf(mystring, 32, "Example Code...");

This compiles fine. However Eclipse marks it with a bug and indicates in my project ...
by cfavreau
Mon Aug 06, 2012 1:49 pm
Forum: NetBurner Software
Topic: Using debugger on MOD54415
Replies: 10
Views: 10067

Re: Using debugger on MOD54415

where do you find the makefile for the platform?

I found netwait.cpp (in which I included the code for waiting for the debugger in place of the delay I had before...).

Code: Select all

	
while(!GDBDebugConnected()) asm(" nop");
Thanks!
by cfavreau
Mon Aug 06, 2012 6:51 am
Forum: NetBurner Software
Topic: Using debugger on MOD54415
Replies: 10
Views: 10067

Re: Using debugger on MOD54415

Instead of InitializeNetworkGBD_and_Wait() I use this:

#ifdef _DEBUG
InitializeNetworkGDB();
OSTimeDly(TICKS_PER_SECOND * 5);
#endif // _DEBUG

This waits 5 seconds for the debugger to hook up. It works on my system quite well however you may need to adjust how many seconds it waits.

If you put ...
by cfavreau
Fri Aug 03, 2012 12:28 pm
Forum: NetBurner Software
Topic: IO Redirection and Dual Stdio - FileIO.CPP issue
Replies: 2
Views: 3026

Re: IO Redirection and Dual Stdio - FileIO.CPP issue

One "duh" solution I have implemented is just to run the feature off in the io handling that is causing trouble:

Code: Select all

ioctl(0, IOCTL_CLR | IOCTL_RX_CHANGE_CRLF);
That appears to work OK.
by cfavreau
Fri Aug 03, 2012 12:00 pm
Forum: NetBurner Software
Topic: IO Redirection and Dual Stdio - FileIO.CPP issue
Replies: 2
Views: 3026

Re: IO Redirection and Dual Stdio - FileIO.CPP issue

It occurred to me that I should probable post the relevant code for read() and stdioinbyte()

From system/fileio.c
Please note that IOCTL_RX_ECHO, IOCTL_RX_CHANGE_CRLF, and IOCTL_RX_PROCESS_EDITS are all set.

/***********************************************/
/* read -- read bytes from the proper ...