Search found 20 matches

by tmcneill
Sun Jun 28, 2009 7:35 pm
Forum: NetBurner Hardware
Topic: MOD5213 Baud Rate screwup
Replies: 3
Views: 3674

Re: MOD5213 Baud Rate screwup

You could use any microcontroller to do what he posted. Also try booting to a live linux CD and use it. It probably works better with a desktop or laptop with a real serial port instead of a USB serial.

Thomas
by tmcneill
Thu Jun 18, 2009 5:44 pm
Forum: NetBurner Hardware
Topic: PLL on MOD5213
Replies: 3
Views: 3877

Re: PLL on MOD5213

I use a program called CFInit to get the PWM values.

http://www.microapl.co.uk/CFInit/cfinit_main.html

It gives you code to set up almost any function on the coldfire.
by tmcneill
Wed Jun 17, 2009 10:08 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

Re: printf problems

I tried it using that as well. Everything would work fine and then bam corruption but now that I go directly to the serial port I have no problems.

Thanks
by tmcneill
Tue Jun 16, 2009 7:28 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

Re: printf problems

I think I got it all working but I had to go around the problem. I had to turn on stdio and stderr. I use sprintf instead of printf and then use IRQ Write String to send that string. It has not crashed yet. I think the problem is with the stdio routing to a serial port.

Thomas
by tmcneill
Tue Jun 16, 2009 4:51 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

Re: printf problems

I do have some arrays I am doing memsets on but they are all static with the size defined in the include file. This code worked wthout problems on the nndk from two years back. I just recently renewed and am now having these problems. I do not have any problems when I hard code fileio.c to use the s...
by tmcneill
Mon Jun 15, 2009 10:26 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

Re: printf problems

I am trying to track down the problem with the fileio.c. I make the write routine loop through IRQ_whritechar to send the data and when I do that there is no problem at all. So I started to track fd and port = ( DWORD ) IoExpands[fd].extra; Something appears to be corrupting the port. At the beginni...
by tmcneill
Mon Jun 15, 2009 6:29 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

Re: printf problems

Here is another trap from fileio.sys WinAddr2Line write C:\nburn\system_nn/fileio.c:158 IoExpands[fd].write( fd, buf + start, ( i - start ) ); -------------------Trap information----------------------------- Exception Frame/A7 =20003D4C Trap Vector =Address Error (3) Format =01 Status register SR =2...
by tmcneill
Sun Jun 14, 2009 10:25 pm
Forum: NetBurner Software
Topic: printf problems
Replies: 7
Views: 5532

printf problems

I am getting verious errors in some printf lines. Access Violation DoSerIsr(int) C:\nburn\MOD5213\system/irq_serial_init.cpp:127 I was also getting errors in fileio.sys Around line 135. I changed the file some before posting so I can't remember the original location but this is the line /*if ( ioctl...
by tmcneill
Sun Jun 14, 2009 5:54 pm
Forum: NetBurner Software
Topic: NNDK2.3 RC7 Now Available (4/1/09)
Replies: 8
Views: 11859

Re: NNDK2.3 RC7 Now Available (4/1/09)

All problems solved by doing this below. There is no need to rebuild. Rebuilding stopped my debugging since we forgot to do a make debug as well as a regular make. I found this below by going through the cproject file for each project. Comparing the one tht worked with the others. The one tht worked...
by tmcneill
Sun Jun 14, 2009 5:51 pm
Forum: NetBurner Software
Topic: Compile problems on new install
Replies: 8
Views: 6274

Re: Compile problems on new install

I solved the problem. We dont have to rebuild it the tools.
Rick click on your project.
Click Netburner Options
Check "Reload selected Platforms Properties File"
Click Apply.

This fixes the problem.