This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Processor board and Programming

I am trying to develop an ARM development board using ATSAM3U4C with a 96 MHz clock, a few LEDs and a button for external interrupt. Shown below is a little circuit that I have put in place. Using Atmel SAM-ICE 20 pin JTAG connector as the debugger and using Atmel Studio 6.0 for programming. For JTAG connection, pin 3 on 20 pin socket connects to NRST and pin 15 connects to NRSTB. So far I got the LEDs to blink but I have a few questions: The debugger does not seem to erase the chip when loading the program. I can run the program once but then to run the program again, I have to use one of the buttons to drive the Erase Pin high (using U5 for now). I noticed that my 96 MHz crystal oscillator is not actually being used by the ARM processor. Have I wired it incorrectly? These are the only two issues I am facing right now. I have been using 8-bit microcontrollers and thought this would be a good learning to design my own board and learn to program on it.

Parents
  • Hi there,

    I haven't use this chip, but many Cortex-M microcontroller starts up with Internal RC oscillator and need to configure the clock control circuit to switch to use external crystal.
    If your project is based on CMSIS-CORE software framework (as used by most MCU device driver), there should be a C/C++ file called system_<devicename>.c, which might have example setup procedure for clocks, and might need to be customized.

    Regarding Atmel Studio question, maybe you should try posting this question in Atmel forum:
    community.atmel.com/atmel-smart-arm-based-mcus

    regards,
    Joseph

Reply
  • Hi there,

    I haven't use this chip, but many Cortex-M microcontroller starts up with Internal RC oscillator and need to configure the clock control circuit to switch to use external crystal.
    If your project is based on CMSIS-CORE software framework (as used by most MCU device driver), there should be a C/C++ file called system_<devicename>.c, which might have example setup procedure for clocks, and might need to be customized.

    Regarding Atmel Studio question, maybe you should try posting this question in Atmel forum:
    community.atmel.com/atmel-smart-arm-based-mcus

    regards,
    Joseph

Children
No data