I want to get the ID Code for the debugging.
What I could see is the starup file "Section30"
Could you help me to find the ID Code back?
Thank you for the help!
Here is the code for Section30
for R8C/Tiny
;===============================================================; fixed vector section;--------------------------------------------------------------- .section fvector,ROMDATA ; fixed vector table .org 0ffdcH
.glb _IrqLowVoltage
;UDI:; .lword dummy_int;OVER_FLOW:; .lword dummy_int;BRKI:; .lword dummy_int;ADDRESS_MATCH:; .lword dummy_int;SINGLE_STEP:; .lword dummy_int;WDT: Interrupt bei Unterspannung .org 0fff0H .lword _IrqLowVoltage | 0FF000000h;RESERVED:; .lword dummy_int;RESERVED:; .lword dummy_int
.org 0fffcHRESET: .lword start ; ; ID code check function ; .id "CodeChk" ; ; option function select register ; .ofsreg 09FH
.endif ; __R8C
Hi Qinghai,
The ID Code serves as a protection. Why do you want to get it? Only someone who knows the ID Code will be able to program your device.
JBRenesasRulz Forum Moderator
https://renesasrulz.com/https://academy.renesas.com/https://en-us.knowledgebase.renesas.com/
Suggestion for the ID Code:
always active the following in the SECTION30:
org 0fffcH
RESET:
.lword start
;
; ID code check function
.id "#FFFFFFFFFFFFFF"
; option function select register
.ofsreg 09FH
Oh I see, so that's the case. Glad to hear that it's now working well. Thanks for confirming and sharing your solution!