Show Posts
Pages: [1]
1  Products / Arduino Due / Re: Cortex-M Debug Connector on: March 09, 2013, 05:08:31 am
Hi,

Segger J-Link 9-pin Cortex-M Adapter has a 10-pin debug connector specified by ARM (Key pin. physically blocked on debug connector.)

Now i have removed the blockade on pin 7 and connect it to the Arduino Due 10-pin connector (referred as JTAG).

But why is there still a the 4-pin (referred as DEBUG) connector?
2  Products / Arduino Due / Re: Cortex-M Debug Connector on: March 08, 2013, 05:44:40 pm
Hi,

Ther are to debugging conectors in the Arduino Due schematic.

1. 10-pin (referred as JTAG) -> JTAG & Serial Wire (SWJ)
2. 4-pin (referred as DEBUG) -> Specification?

I referred to the 10-pin connector and use the Segger J-Link 9-pin Cortex-M Adapter.
The J-Link 9-pin Cortex-M Adapter allows JTAG, SWD and SWO connections between J-Link and Cortex-M based target hardware systems.

Key pin. Removed from target connector, or physically blocked on debug connector.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0314h/Chdcdggc.html

and why is this Key pin.(7) not removed from the Arduino Due Board?
3  Products / Arduino Due / Cortex-M Debug Connector on: March 08, 2013, 12:47:10 pm
Hi Massimo,

Arduino Due is based on the Cortex-M processor, but why isn't the debugging connector designed for the 10-pin Cortex Debug connector?

CoreSight Technology
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_cs_core_sight.htm
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_cs_connectors.htm#Cortex10Pin
4  Products / Arduino Due / Re: Customizing Atmel Studio6 for the Due auto-erase bootloader on: March 06, 2013, 05:31:24 pm
Hi Joachim,

you can customize the wait time for memory erased.

REM Wait X second for memory on Arduino Due is erased.
SET WAIT_ERASED=4

i tested with "SET WAIT_ERASED=2" and it works well.

2 seconds faster :-)
5  Products / Arduino Due / Re: Customizing Atmel Studio6 for the Due auto-erase bootloader on: March 05, 2013, 07:20:10 pm
Hi Transistorfips,

Thanks, append the batchjob in the "Build Solution" was a good idear.

I Update the batch-file on GitHub
https://github.com/ctbenergy/BossacArduinoDue

Now you can add a "post build command" in the "Build Event" (Debug and Release)
"$(DevEnvDir)\BossacArduinoDue.bat" "C:\Program Files (x86)\arduino-1.5.2\hardware\tools\bossac.exe" "$(OutputDirectory)\$(OutputFileName).bin"

For more information see the README file
https://github.com/ctbenergy/BossacArduinoDue/blob/master/README.creole
6  Products / Arduino Due / Re: Free RTOS on: March 05, 2013, 05:08:23 pm
Hi Richard,

Thanks for the detailed description.

I have tried "FreeRTOS Peripheral Control Example" on the Arduino Due and it works.

Atmel has provided an application note for FreeRTOS:

Atmel AVR10008: ASF Specific FreeRTOS Functionality for Peripheral Control
http://www.atmel.com/Images/doc42049.pdf

Another possibility to integrate FreeRTOS for Arduino Due/X:

Atmel Studio 6 (Version 6.0.1996 Service Pack 2)
Atmel Studio Framework 3.5.1

1. File -> New -> Project -> C/C++ -> ArduinoBoards -> Arduino Due/X ATSAM3X8E
2. Add ASF Modul "FreeRTOS mini Real-Time Kernel (7.3.0)" in the Atmel Software Framework Wizzard (ASF 3.5.1.188)
3. Workaround for bug in ASF Modul "FreeRTOS mini Real-Time Kernel" (error "portmacro.h" No such file or directory)
    Project -> Settings -> Toolcain -> ARM/GNU C Compiler -> Directories -> Include Paths ->
    Add Item "../src/asf/thirdparty/freertos/freertos-7.3.0/source/portable/gcc/arm_cm3"

Regards,
Ewald
7  Products / Arduino Due / Re: Porting FreeRTOS from Atmel Studio to Arduino Due on: March 04, 2013, 06:12:03 pm
Hi,

cool, i am also working with FreeRTOS on Arduino Due
See http://www.freertos.org/Atmel_SAM3_SAM3X-EK_SAM3S-EK2_RTOS_Demo.html
8  Products / Arduino Due / Re: Customizing Atmel Studio6 for the Due auto-erase bootloader on: March 04, 2013, 06:01:10 pm
Hi,

Select Release as active build configuration and rebuild your project.
Procect -> Settings -> Build -> Configuration Manger -> Active configuration (Release)

Now you can exectute BossacArduinoDue(Release) without the error message.

By default, Debug includes debug information in the compiled files (allowing easy debugging) while Release usually has optimizations enabled.
9  Products / Arduino Due / Re: Customizing Atmel Studio6 for the Due auto-erase bootloader on: March 02, 2013, 04:10:22 pm
Hi Transistorfips,

The batch-file is now on GitHub.
https://github.com/ctbenergy/BossacArduinoDue

If you have some suggestions for improvement, please let me know.
10  Products / Arduino Due / Re: Atmel Studio With Arduino Due on: March 02, 2013, 12:34:38 pm
hi arduino2012,

you can use this
http://arduino.cc/forum/index.php/topic,151223.msg1138871.html#msg1138871
bat-file for flasching your arduino due board.
11  Products / Arduino Due / Re: Atmel Studio With Arduino Due on: March 01, 2013, 02:36:45 pm
hi arduino2012,

you find a good "getting started" on youtube.

Atmel Software Framework, Getting Started, Part 1


Atmel Software Framework, Getting Started, Part 2

12  Products / Arduino Due / Re: Customizing Atmel Studio6 for the Due auto-erase bootloader on: March 01, 2013, 02:18:00 pm
hi,

i use this batch-file in Atmel Studio 6

features:
autodetect of arduino due programming port

external tool arguments:
path to bossac.exe
$(ProjectDir)
$(ProjectFileName)
Debug or Release

for more info see description in the batch-file

enjoy!
Pages: [1]