Post Created date
How to debug code when the startup already hangs in the reset handler?
The code hangs immediately with the first assignment in the for loop right after the breakpoint shown above in the picture. It is the same behavior as shown in this thread, but...
Wednesday, 30 March 2022 - 18:07
How to debug code when the startup already hangs in the reset handler?
I don't understand what you mean. As stated in my initial post, the code is working fine when not optimized. Now, when trying to optimize, the code is no more executing as, for...
Tuesday, 29 March 2022 - 20:06
How to debug code when the startup already hangs in the reset handler?
@westfw, that's what I did in the first place, otherwise I wouldn't have known that the code is already hanging before main() is executed.   When I turn off optimization, I...
Tuesday, 29 March 2022 - 17:07
V71: How to configure project for flash-based EEPROM
OK, in the meantime, I found the solution.   I adapted the linker script in two places:      /* Memory Spaces Definitions */    MEMORY  ...
Friday, 18 March 2022 - 20:22
How to make PICkit 4 work with SAM and Atmel Studio 7?
Kartman wrote: No use telling me - I don't use either! And what's the solution you are using, if I may ask?
Tuesday, 9 June 2020 - 21:31
How to make PICkit 4 work with SAM and Atmel Studio 7?
Kartman wrote: You might want to consider that Microchip is moving away from AS7 towards MPLAB.    That would be a major setback and there are at least two reasons. I'...
Sunday, 7 June 2020 - 11:56
How to make PICkit 4 work with SAM and Atmel Studio 7?
Never received a reply from Microchip
Sunday, 24 May 2020 - 11:45
How to make PICkit 4 work with SAM and Atmel Studio 7?
I sent an email to Microchip to find out when Atmel Studio is planned to support PICkit 4 on SAM. Right now it only works on AVR.
Saturday, 2 May 2020 - 12:44
How to make PICkit 4 work with SAM and Atmel Studio 7?
meolsen wrote:Why haven't you connected SWDIO? That's your debug in/out pin... . TraceSWO is not needed (don't think the pk4 has SWO trace) Why do you think I haven't connected it...
Saturday, 2 May 2020 - 12:39
How to make PICkit 4 work with SAM and Atmel Studio 7?
  OK, so for anyone who wants to go the same route as I did, here's a little guide:   I built the following connections:     I've actually got this to work...
Saturday, 2 May 2020 - 10:05
How to make PICkit 4 work with SAM and Atmel Studio 7?
westfw wrote:  Vtg needs to be connected.  On the pk4, it senses target voltage rather than supplying power.   ibe successfully used a pickit4 to talk to a samc,...
Saturday, 2 May 2020 - 09:40
SAME70 TCM code relocation does not work
OK, I figured out what the problem was. I used the original code from agporsch which, I believe, may have been for an older version of the linker. During debugging, I noticed that...
Saturday, 18 April 2020 - 07:36

Pages