Post Created date
SAME70 QSPI XIP Quad SPI External Flash Memory SMM Write Problem
I just ran into this same problem.  Single byte writes to a serial flash chip using a SAM E70 QSPI module in Serial Memory Mode sends seven unwanted extra bytes.  In...
Thursday, 19 March 2020 - 18:40
Help locating newlib source code
westfw wrote:   So what is the actual code produced, and on which instruction does it actually crash?     See post #10 above, there is an example SAM E70 Xplained...
Tuesday, 17 March 2020 - 14:15
Help locating newlib source code
Final analysis:  the problem lies in newlib's memcpy() function when compiled with certain optimization settings.  Here's the most recent memcpy.c file from ...
Friday, 13 March 2020 - 18:06
Help locating newlib source code
westfw wrote: Could you provide the compile command for your demo version of the code?   Also, do you happen to know for sure which binary libc.a your code ends up linking?...
Friday, 13 March 2020 - 14:00
Help locating newlib source code
So I've found the root of the problem.  The Atmel supplied START file hpl_usbhs.c calls memcpy() with a destination address of USBHS RAM.  When linking in the non-size...
Thursday, 12 March 2020 - 22:35
Help locating newlib source code
And for those of you playing along at home, the whole reason for this journey was to trace down a hard fault in the standard C library function memcpy() when called from within...
Wednesday, 11 March 2020 - 20:23
Help locating newlib source code
Answering my own questions here.   1.  Atmel Studio v7.0.2397 uses ARM GNU Toolchain 6.3.1.508.  See the "arm-gnu-toolchain-6.3.1.508-readme.pdf" file in the Atmel...
Wednesday, 11 March 2020 - 20:10
Help locating newlib source code
westfw wrote:   Are you sure you have the right source?     No I'm not.  When I first created this thread I had no source files.  Some sleuthing and...
Wednesday, 11 March 2020 - 12:50
Help locating newlib source code
So I've found a smoking gun but have run out of time today to dig deeper.  I pulled down the newlib-2.5.0.tar.gz, extracted memcpy.c, cut and pasted the contents into...
Tuesday, 10 March 2020 - 23:31
Help locating newlib source code
Digging more I've found _newlib_version.h located at "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include".  It's showing 2.5.0 but...
Tuesday, 10 March 2020 - 22:50
Command Line Exceeds Limit
I just ran into this problem with my rather large project.  I manually updated from lwip-2.0.3 to lwip-2.1.2.  The latest lwip version has more underlying .c files...
Friday, 24 January 2020 - 21:43
Atmel Studio not working with J-Link/SAM-ICE on SAME54
I use a Segger J-Link Base at work and the J-Link Edu for personal projects at home.  Both allow for a virtual serial port through the J-Link programmer but only during a...
Monday, 6 January 2020 - 22:46

Pages