SAM3X8E ROM "Boot Program" question..
(outside context of arduino ide..) i'm trying use sam3x8e "boot program." i'm able xmodem program sram (with "s<addr>,#"). when try run (with "g<addr>#"), hangs.
i'm compiling program yagarto.
i've done sort of thing (with atmel rom boot program) many times in past: netduino (at91sam7x512) , minibox picosam9g45 (at91sam9g45). , i've built cortex m-3 bootloaders netduino 2 (stm32f205).
a long time ago, remember (though, life of me, can't remember where) reading sort of "principles of operation" boot program. seem remember (?) "go" command lot more jump specified address. (but may confusing 7x's (and 3x's) "boot program" 9g's nvm boot program.) hoping program "pick up" boot program "left off" (i.e., clocks setup, stack setup, pio pins setup, uart setup, ...).
can comment on 3x rom boot program does? , things different 3x (than, e.g., 7x), because of (old) arm vs (newer) cortex m-3 architectures? example, need "go" "<addr>+1"?
and what're minimal "setup/initialization" steps software has "out of gate"?
thanks,
tom
i'm compiling program yagarto.
i've done sort of thing (with atmel rom boot program) many times in past: netduino (at91sam7x512) , minibox picosam9g45 (at91sam9g45). , i've built cortex m-3 bootloaders netduino 2 (stm32f205).
a long time ago, remember (though, life of me, can't remember where) reading sort of "principles of operation" boot program. seem remember (?) "go" command lot more jump specified address. (but may confusing 7x's (and 3x's) "boot program" 9g's nvm boot program.) hoping program "pick up" boot program "left off" (i.e., clocks setup, stack setup, pio pins setup, uart setup, ...).
can comment on 3x rom boot program does? , things different 3x (than, e.g., 7x), because of (old) arm vs (newer) cortex m-3 architectures? example, need "go" "<addr>+1"?
and what're minimal "setup/initialization" steps software has "out of gate"?
thanks,
tom
answering own question...
the problem "target" (address) of sam-ba g(o) command not code address.. or thumb2/cm3 "address+1." go target has sp-pc pair (where pc address+1).
the problem "target" (address) of sam-ba g(o) command not code address.. or thumb2/cm3 "address+1." go target has sp-pc pair (where pc address+1).
Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > SAM3X8E ROM "Boot Program" question..
arduino
Comments
Post a Comment