AVR-USB-JTAG with AVR-H128 problem

Hello,

I bought an AVR-USB-JTAG and AVR-H128 from Olimex and I’m using AVR STUDIO 4.12 to download and debug.

I’m sucessful in connecting and downloading the firmaware to the AVR-H128 but after download the debugger halts and when press “pause” I receive the following message:

Error reading memory : IO Address:0 Size:64

Error reading memory : REGISTERS Address:0 Size:32

Error reading memory : SRAM Address:96 Size:160

I have seen other two topics in this board but there were no replies of possible causes or solutions to this problem.

Please, does anyone knows asolution for that?

Thanks in advance.

Zoltas

Since OLIMEX and SPARKFUN have ignored this problem many times in this forum I had to dig in this weekend and found a solution in another forum.

I’ll post the solution that works for me and hope it will be helpful for others.

The cause for the problem was that OLIMEX uses a cheap regulator in their board (AVR-H128) and it does not provide enough current to run a real application. Using a external 5V source and later replacing with a better regulator (LDO) solved the problem.

What I don’t understand is that if this is something some people have problem with why they don’t reply to the questions and suggest to check the voltage.

Hope this helps.

Zoltas

…thats why they put a jumper so you can use your own powersource. I think the onboarrd regulator is only ment ot power the mega128/103 onboard…you are suposed to use your own supply for the rest of your project. I personally like my H-103.

TSPRAP:
…thats why they put a jumper so you can use your own powersource. I think the onboarrd regulator is only ment ot power the mega128/103 onboard…you are suposed to use your own supply for the rest of your project. I personally like my H-103.

I agree but I don’t have anything connected to the board. I’m just running a real software at higher speeds and the onboard regulator is not handling the power. (and yes all unused ports are set as outputs and inputs have pullups).

I also agree they don’t need to put a super regulator but this error with AVR Studio seems to happen often because I saw other people complaining is this forum and neither OLIMEX or SPARKFUN have ever replied with any suggestion or comments and the manual also does not mention anything.

I just wish they had a FAQ with hints of possible problems users ask for every board even if they are dummy questions since many people that buy their products are begginers trying to learn.

:slight_smile:

~Zoltas