Originally Posted by
kunix
Just wondering, what happens if we make
MOVS R1,#1 or
MOVS R1,#5, which also corespond to eTrex 30 (this fact can be seen at sub_801FAFAA).
Code:
Please Login or Register to see the links
BTW,
MOVS R0, R0 is not a good way to insert a
NOP instruction, as it may affect flags in CPSR register.
I can confirm.
There are at least two models of PCBs, for etrex20/30.
Model1: In Memory 0x12009000 (i think model of PCB) -> 0x00043f3d
r0 = 2 for etrex20
r0 = 3 for etrex30
Model2: in Memory 0x12009000 (i think model of PCB) ---> Not looked yet.
r0 = 4 for etrex20
r0 = 5 for etrex30
The function that maps the gps model according to the motherboard.
Code:
Please Login or Register to see the links
Bookmarks