QG8 Bootloader, not executing the relocated ISRs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QG8 Bootloader, not executing the relocated ISRs

1,473 Views
FC
Contributor III
How would you explain not running the reloacted ISRs when using the bootloader?  For example, I switched on and off leds in the test program within the ISR.  I am trying to use FREEMaster software to debug the downloaded prgram via a SCI, no data, since the relocated SCI ISRs are not running.
 
Thanks
Labels (1)
0 Kudos
1 Reply

260 Views
ok2ucx
Contributor IV
Hi,
 
thanks a lot for pointing this bug out. The QG bootloader hasn't been tested well FPROT/NVPROT allocation was wrong.
 
It should be like this:
NVPROT_ROM:  SECTION
MY_NVPROT   DC.B %11111100 ; flash protected (from 0xFE00)
 
For some lazy RS232 hardware (with long startup) I've added optional delay before any FC ack is sent out. If you uncomment it, the behaviour e.g. on QG8 demoboard improves.
 
Attached you can find the corrected version of the QG bootloader (also the software SCI version, suitable if standard SCI pins are not avilable or if single-wire communication is required, single-wire version has not been tested though).
 
This version will go to official AN2295SW quickly.
 
Regards, Pavel ok2ucx

Message Edited by ok2ucx on 2006-10-1010:13 AM

hc08sprg-s08qg-beta-1.zip

Message Edited by t.dowe on 2009-09-03 05:30 PM
0 Kudos