AT91SAM7S64 in keil5 (I):

AT91SAM7S64 in keil5 (I):
Atmel microcontroller :

Atmel microcontroller is fantasy and nostalgia for fascinating of electronics. All we have worked with AVR microcontrollers, So we discuss about AT91SAM7 for starting these microcontroller.

 


Configure in Keil:
In Keil MDK v5 it uses packs for support microcontrollers. You can download any pack for microcontrollers. For ST microcontroller They ( Packs ) are so comprehensive but for Atmel it is poor now(In the time writing this post blog Monday, March 20, 2017 ). I can’t find good packs for AT91SAM7S64 series in keil pack directory.So we should use Keil MDK4 legacy support , after installing Legacy support for ARM7,ARM9 & Cortex-R . Now you can find AT91SAM7 in Creating New Project. MDK v4 Legacy Support You can find example and header file here.

Atmel AT91SAM7S64 You now has good project example with necessary header file. We should work with registers for running project on ADC configuring.


I worked very much with ST microcontroller, I admit that ST has more and excellent support vs others.
So we today examine new project example with
AT91SAM7S64. In programming with jlink has some errors. With jflash v6.0.0 It has not any errors.in before I had problem with jflash v6.12.

  1. Load "C:\Users\root\Desktop\hh\ADC.axf"
  2. ProjectFile = C:UsersrootDesktophhJLinkArm_AT91SAM7Sxxx.ini
  3. Device = AT91SAM7S64
  4. Info: Device "AT91SAM7S64" selected.
  5. VTarget = 2.394V
  6. Info: TotalIRLen = 4, IRPrint = 0x01
  7. Info: Adaptive clocking not supported for selected CPU core. Only supported for -S cores.
  8. Info: Auto JTAG speed: 5334 kHz
  9. Info: Adaptive clocking not supported for selected CPU core. Only supported for -S cores.
  10. Info: Auto JTAG speed: 5334 kHz
  11. ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
  12. Info: Core does not stop after Reset, setting WP to stop it.
  13. ***JLink Warning: PC of target system has unexpected value of 0x00200004 after reset.
  14. DLL version V6.12g, compiled Jan 27 2017 18:18:51
  15. Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
  16. Hardware: V8.00
  17. Hardware-Breakpoints: 2
  18. Software-Breakpoints: 8192
  19. Watchpoints: 0
  20. Found 1 JTAG device, Total IRLen = 4:
  21. Id of device #0: 0x3F0F0F0F
  22. ARM7 identified.
  23. JTAG speed: 5334 kHz
  24. ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
  25. Info: Core does not stop after Reset, setting WP to stop it.
  26. ***JLink Warning: PC of target system has unexpected value of 0x00200000 after reset.
  27. JTAG speed: 1000 kHz
  28. No Algorithm found for: 00100000H - 00100A7BH
  29. Erase skipped!
  30. Error: Flash Download failed - ARM7TDMI
  31. Flash Load finished at 18:59:54


You can see successfully programing in jlink6.0.0. but in Keil i have yet some errors…These errors is same error programming with jlinlv6.12.So I am going to go to trip, so in other post blog I want to find solution fixing these errors.

The micontroller ATSAM7S64  some features is writed in below[1]:

  • 64KB Flash Memory
  • One Master/Slave Serial Peripheral Interface (SPI)
  • Two Universal Synchronous/Asynchronous Receiver Transmitters (USART)
  • One Three-channel 16-bit Timer/Counter (TC)
  • One Four-channel 16-bit PWM Controller (PWMC)
  • One Two-wire Interface (TWI)
  • One 8-channel 10-bit Analog-to-Digital Converter,
  • Four Channels Multiplexed with Digital I/Os
  • Available in a 64-lead LQFP Package

     

  • Fully Static Operation: Up to 55 MHz at 1.65V and 85°C Worst Case Conditions

     

  • Power Supplies– Embedded 1.8V Regulator, Drawing up to 100 mA for the Core and External Components– 3.3V VDDIO I/O Lines Power Supply, Independent 3.3V VDDFLASH Flash Power Supply– 1.8V VDDCORE Core Power Supply with Brownout Detector

     

     

     

     

You can see block Digaram of chip in below image:

 

Sharing is caring!

Leave a Reply

Your email address will not be published. Required fields are marked *