Sebastian,
If you are storing this data in Flash:
Have a look at the flash programming routines you use and see if you respect the timings recommended in the datasheet.
To confirm, you can toggle a pin port at each stage and measure the time with an oscilloscope probe.
If you are not using Flash dynamically (meaning not for DATA but only static software), I don't have the slightest clue about what is going on
I suggest you use the debugger to trace the flow of the software and see the content of registers ton understand the trouble. For SCI reception/send, you will need to make a breakpoint rather than step by step.
You only have ONE breakpoint on HC08 (BRK module) therefore you need to remove (and not only disable) the previous bkpt before putting another one on CodeWarrior, otherwise the debugger will argue.
Cheers,
Alban.
Alban wrote:Sebastian,
If you are storing this data in Flash:
Have a look at the flash programming routines you use and see if you respect the timings recommended in the datasheet.To confirm, you can toggle a pin port at each stage and measure the time with an oscilloscope probe.
If you are not using Flash dynamically (meaning not for DATA but only static software), I don't have the slightest clue about what is going on
I suggest you use the debugger to trace the flow of the software and see the content of registers ton understand the trouble. For SCI reception/send, you will need to make a breakpoint rather than step by step.
You only have ONE breakpoint on HC08 (BRK module) therefore you need to remove (and not only disable) the previous bkpt before putting another one on CodeWarrior, otherwise the debugger will argue.Cheers,
Alban.
rhinoceroshead wrote:
Does metrowerks come back to you saying that it couldn't flash 8000 - 8200 or something like that because the flash is bad or protected? It seems like I saw this happen before. Are you using the 32 kHz crystal going into monitor mode with the startup vector blank? Or are you going in with the 4 Mhz crystal?