Hi all,
I am currently working in a project in which I want to get an array value to the host machine I am working in.
I tried to send the array through USART using hapsim but it seems to struggle at the middle of the loop probably because the array is 1024 bytes long.
Next I tried the function available in AVRStudio 4 debug menu "Up/Download" memory. there I could write the array to a hex file.
But the problem is when I compare the file in HxD hex editor and the AVRStudio watch window the array indexes has different values.
As per a suggestion given in the thread I tried to copy different areas of memory but none gave me the expected result.
https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=122573
the array is used for 128*64 lcd driver and is defined as,
uint8_t lcd_buf[DISPLAY_W*DISPLAY_H/8];
and according to the watch window has the address of 0x09E7,
Processor used is Atmega 64.
I have attached the watch window screen shot and 2 hex files I have got.
Can anybody give any hand on achieving this task.
Thanks much.