Posted: Wed Jun 29, 2005 9:29 am
Some people must have heard what you thought about
Posted: Thu Sep 08, 2005 12:03 am
Anyone know where GetBit is located on the QB8? I've got the latest AN2365 and it's not listed in there. Yet GetByte does called GetBit, so I need to find where it is.
Posted: Mon Sep 12, 2005 1:11 pm
GetBit on QB8: Try entry @ 0x285D ...
It may move in next silicon, therefore I wouldn't use it in prod!
Cheers,
Posted: Mon Sep 12, 2005 3:38 pm
Thanks,! However, after further study I see that the in-ROM routine GETBYTE is calling GETBIT, so I really don't need to declare where GETBIT is located. That's all done for me, so to speak.
Thanks again.
Posted: Mon Sep 19, 2005 11:03 am
You're welcome,
Yep you're right about the GetByte calling GetBit, I did find surprising you wanted access to it
Especially if it's not referenced, it could easily be moved between two compilation of the Resident ROM Code...
Cheers,
Posted: Mon Oct 10, 2005 11:06 am
Hi all,
AN2295 (Developpers' serial bootloader for HC(S)08 ) shows the ROM resident routines usage in the real functional application (Bootloading over serial line). If in doubt, check with the files there to see how the ROM is used - all bootloaders are tested.
For example, QB family has the ROM API located in RAM at $80 not at RAM beginning.
Next, CTRLBYTE must be completely cleared for page erase, not just one bit.
Basically, there are two main versions of the ROM routines:
1.) the one with fixed RAM API (just like in QT/QY/GR/GZ/EY/KX/JK/JL/LB/GT/QB/QC families), with some exceptions (LB8 entry points, GR/GZ speed settings and few others) it works generally like described in AN1831.
2.) better & flexible 'FILE_PTR type' (found in AP/JK8/JL8/LJ/LK) where a control block is defined anywhere in RAM and only pointer is passed into ROM routines. These are well described in respective datasheets and include also built-in EEPROM emulation.
Hope it helps.
Regards,
Freescale Czech
Posted: Fri Oct 21, 2005 4:58 pm
Quote: |
CTRLBYTE must be completely cleared for page erase, not just one bit. |
Quote: |
there are two main versions of the ROM routines: 1.) the one with fixed RAM API (just like in QT/QY/GR/GZ/EY/KX/JK/JL/LB/GT/QB/QC families), with some exceptions (LB8 entry points, GR/GZ speed settings and few others) it works generally like described in AN1831. |
Message Edited by RChapman on 01-24-2006 11:29 AM