You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
778 B

  1. ######################################
  2. # Target: Atmel AT91SAM9G20
  3. ######################################
  4. if { [info exists CHIPNAME] } {
  5. set AT91_CHIPNAME $CHIPNAME
  6. } else {
  7. set AT91_CHIPNAME at91sam9g20
  8. }
  9. source [find target/at91sam9.cfg]
  10. # Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock).
  11. adapter_khz 5
  12. # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
  13. # AT91SAM9G20 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
  14. # Both areas are 16 kB long.
  15. #$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 1
  16. $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1