Type in the full discussion title or a part of it.
Discussion Title Created date
Install the minimum for production (erase/program/verify)
I have to arrange a desktop computer (Windows XP based) for production: erase, program and verify ATmega and ATtiny ICs. The programmer will be JTAGiCE3. The computer is very old...
Monday, 11 August 2014 - 06:00
Switching GPIO from output low to input with pull-up enabled
I need to configure a GPIO as an output pin at a low level. Sometime I need to configure it as input with pull-up enabled. I measured the rising time from 0V to 5V and it is about...
Wednesday, 6 August 2014 - 09:04
Atmel Studio 6.2.1156, JTAGICE3 and I flag in SREG register
I worked with this setup for many months, but I noticed this problem just now... it's very strange. I have many parts of the code where I use ATOMIC_BLOCK(ATOMIC_RESTORESTATE)...
Tuesday, 5 August 2014 - 10:34
ATmega32A: sampling 13 analog signals at 1ms each
I have 13 analog signals: 5 are connected directly to the MCU and 8 are connected to a single pin of MCU through analog multiplexer 4051. I'd like to have at least one sample...
Wednesday, 16 July 2014 - 08:35
ATmega32A: fuses overwritten during JTAG debug session
I never noticed this strange behaviour in the past. I'm quite sure this is new, maybe related to some recent upgrade. I program EESAVE fuse with Tools->Device Programming...
Monday, 14 July 2014 - 15:47
SERCOM/USART callback mode
When I program AVR I manage the UART peripheral with two FIFO (uint8_t arrays): one for tx and one for rx. In the putchar() function, I push the data byte in the tx FIFO and...
Wednesday, 18 June 2014 - 08:15
Migrating from 8-bit AVR mega to ARM Cortex-M0+ SAM D20
I'm an happy developer with ATmega 8-bit microcontrollers, JTAGICE3 programmer/debugger and Atmel Studio 6. Now I'd like to migrate to 32-bit ARM Cortex-M0+ parts, such as SAM D20...
Thursday, 5 June 2014 - 23:07
How to mimic __flash and __memx directives in the host
I usually try to test my code in the host platform (Windows/mingw) before testing directly on the target embedded board. Some part of the code is board dependent and can't be...
Thursday, 5 June 2014 - 05:46
RAM, PROGMEM and EEMEM: how to create a unified interface
I have a project with many long strings. Some of them are stored in program memory, because they are fixed at design time. Some other are stored in EEPROM, because the user can...
Thursday, 22 May 2014 - 07:15
AT parser
I'm developing a software that manages a GSM modem (actually it's a SIM900 from SimCom). So I need to implement an AT parser. At first it appears a simple thing to do: the host...
Tuesday, 20 May 2014 - 15:57
Customize assert behaviour
I understand assert() calls an exit function where the program enters an infinite loop. Is there a possibility to customize this behaviour? I would like to flash all the LEDs of...
Friday, 9 May 2014 - 14:34
EEPROM programming: JTAG and ISP differences
I have used a ATmega328 that I programmed with JTAGICE3 through ISP interface. I noticed I don't need a chip erase before programming EEPROM (datasheet says ISP EEPROM programming...
Wednesday, 30 April 2014 - 15:28

Pages