program AT90S8515 with AVRISP mkII

The AVR ISP mkII does not support the AT90S8515 by default for programing. There s a simple workaround for that: Go to the path where your Atmel stuff is installed. In my case it is: C:Program Files (x86)atmelAVR ToolsPartdescriptionfiles Look for the file AT90S8515.xml Locate the <ICE_SETTINGS> part and change the <MODULE_LIST> to [SIMULATOR:STK500:STK500_2:AVRISPmkII] and… Continue reading program AT90S8515 with AVRISP mkII

embedded stack collision with the variable-memory

There was a strange bug I found which took me ages to find. I was implementing some stuff on a Atmel A90S8515 microcontroller. This device is quite old and has very limited memory. Both Flash and RAM. The problem occurred when sprintf from the standard library was called. When called,  any internal variables were changed… Continue reading embedded stack collision with the variable-memory

my atmel microcontroller is continuously reseting

A problem I had multiple times was: I reuse software from the internet, but when i use the software / simulate it, it is constantly resetting! The reason why this is happening is (or can be) undefined reset vectors. This means, the hardware raises an interrupt, which is not hadled by your software. Therefore, make… Continue reading my atmel microcontroller is continuously reseting