Re: Problems with the m32c target and M16C6N cpu

2005-10-06 Thread Frank von Zeppelin
Hi DJ, finally, I could try your proposal with the reset.S file. It works fine in the KD30 debugger, but unfortunately, the program doesn't run when I flash the srec directly. Do you have an idea on what's going wrong? Frank References: http://gcc.gnu.org/ml/gcc/2005-09/msg00067.html http://

Re: Problems with the m32c target and M16C6N cpu

2005-09-03 Thread DJ Delorie
The most likely problem is that you're not providing a reset vector that points at your program, so the board doesn't know the starting location (neither kd30 nor the flash program honor the "start address" s-record). I should probably have the tools do that automatically. With the tools you hav

Problems with the m32c target and M16C6N cpu

2005-09-03 Thread fvzeppelin
I have built a cross-gcc (gcc Aug 19th, binutils Aug. 21st, newlib Aug. 27th) on cygwin for the m32c target. The small test program that I use is: struct bit_def { charb0:1; charb1:1; charb2:1; charb3:1; charb4:1; charb5:1;