Atmel-ICE programming atsam4sd32c - arm

I am having problems with the programming of a custom pcb which is using the 32-bit atsam4sd32c ARM Cortex M4. I am unable to program the microcontroller trough the JTAG/SWD interface using the ATMEL-ICE debugger. However I am able to get the device signature identifier using the atmel studio 7.0 command promt. Doing manual chip erases and resets is also possible.
When I try to program the board via the atmel studio 7.0 software the upload hangs at 14%.
We have tried a lot but not progress is being made.
Can anyone help?

Thank you all for your responses.
I was aware of the fact that this question was a little unfit for this forum.
But I hoped there might be people here who had experience with the atmel ARM series microcontrollers.
I did contact Atmel support and aventually that helped out.
The problem was in de hardware design of the JTAG lines. I was unaware of the need for pull-up resistors on all JTAG lines (TMS, TDI, TDO, NRST and TCK).
after we applied the resistors programming worked fine.
greetings,
Maarten Roozendaal

Related

Target and Board for a C embedded Program with Arcom in Keil

Good day everyone,
Please be kind an encouraging, as I am beginner in Embedded Programming, even if I have strong knowledge in C/C++.
Michael Barr, in his book, Programming Embedded Systems, writes, page 17, that "this function is specific to Arcom's Target188EB board.
I have Keil uVision 5 installed on my machine with Windows.
And I went in package installer to see if I can find , at least, the installer for simulating programs of the book. But I did not find the installer.
Why?
In particular, there is a special piece of code :
asm{
mov dx, P2LTCH
in a1, dx
....
}
which is special for this board.
So, I guess I should have the hardware, or at least the possibility ton download the package that fits to this board to be able to make the simulation.
Do you know why I don't find Arcom's Target188EB board in the package installer list ?
Thank you for your help
The board you refer to is an obsolete antique with an equally obsolete Intel 80188 processor on board. Keil do not produce a tool chain to target that.
Assembler code is architecture specific - that code is meaningless on anything that is not an 16 bit 8086 based processor.
In-line assembler syntax is compiler specific - you'd need the tool chain used for the original code to be sure it would compile in any case. Borland C++ 3.1 apparently (also an antique).
The code you are referring to uses the GPIO I/O port referred to by P2LTCH to control an LED. On other more modern and readily available boards, the method of accessing GPIO to flash an LED will differ. That is not fundamental perhaps to what the book is trying to teach you, but a more up-to-date book might be in order, or you need to know enough to be able to apply the content of the book to other systems - that is you need to be able to generalise the information using other resources perhaps.
Any board directly supported by the Keil tools generally has a "Blinky" app - the embedded world's answer to "Hello, World!", which does exactly what this exercise in Barr's book is exemplifying. Its purpose is to flash an LED to verify that you can build, load and execute code that can access the hardware.
I suggest you obtain a modern board directly supported by your toolchain, and supported by a broad community. Any number of ARM based microcontroller boards are available for very low cost, and much higher performance that the Arcom board and a broader peripheral set than

Advise needed from any ARM Cortex-M programmers out there

I've decided to make the step up from using PIC to ARM Cortex-M but having trouble finding an equivalent to the PICKIT to program it.
After googling the net I have been given loads of options but have no idea what to buy.
Can anyone out there give me any advise on what to buy?
I'm so used to buying a PIC16F microcontroller, using MPLAB and the PICKIT 3 I'm unsure about what I need.
I like the ST-Nucleo and the slightly more complex ST Discovery. They are inexpensive (start at around $13), versions for just about all STM32 series, built-in ST-LINK debug pod, and have Arduino style header connectors.
You can program it using free or commercial IDE/compilers, mBed compilers, and even the Arduino IDE. You can start with using the free CubeMX graphical generator to generate initialization code.
So literally all you have to spend minimally is just a $13 kit and a USB cable to get started.

PRINTF in Keil uvision5

I am working for the first time with the STM32 Nucleo L476RG board with the X-Nucleo IDB05A1 Expansion board for developing Bluetooth Low Energy Applications.
I will develop with Keil uvision5. In uvision5 I could succesfully built the SensorDemo example from the STM32CubeExpansion package, loaded the code to the flash memory of the board and started a debug session/run the code.
In that code example are a lot of PRINTF statements used. But where can I see the output of those?
I tried things like here or here but it didn't work.
Can anyone help me out or has an easier solution?
Or would there be an easier or better environment for developping with STM32 bluetooth low energy boards?
Thanks in Adavance!

Basic ARM application in Xilinx Zynq SoC

I am new to Xilinx Zynq SoC. Zynq has ARM(dual cores). I am curious if it is possible to run program C/C++ program only on ARM processors without using the FPGA fabric. My research could not helped much.
IF yes, I would like to know some basic steps that I need to follow to achieve the goal.
Yes, you can run your own application code without using the FPGA fabric.
You can download the xilinx SDK http://www.xilinx.com/tools/sdk.htm and start by trying some of the hello world projects available. Adding a FPGA bitstream is optional.
Follow the Tutorial by Xilinx.
http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_3/ug873-zynq-ctt.pdf.
It is clearly stated in section 5.2.4.
Thanks.

Which ARM processor should be used for transfering data via ethernet?

The question below was related to the 8051 family as it has only the serial ports. Now when i found out that the ARM processors have inbuilt ethernet facility i decided to mov on to the ARM's. So which would be the Most easiest one to start of and as iam aware of keil environment i would like to work on anARM which supports keil .
Thnxx,
Cheers.
The TI (formerly Luminary Micro) parts are easy to use. The eval kits are cheap and there is a lot of documentation on the Luminary Micro web site, including sample code. I've been using the LM3S6965 EVK for an ethernet project. The eval kits can be ordered with Keil, IAR, Codesourcery or Code Red compilers.
Check out the AT91SAM7X.
AT91 SAM series from Atmel is really popular between hobbyists and amateurs, you will find a lot of open source examples and excessive topics regarding this CPU's. And yes, they are widely supported in Linux community.
Check this out: http://www.at91.com

Resources