[En-Nut-Discussion] MMnet01 .conf problem ... I guess

Martin Clausen margucl at gmail.com
Sat Apr 25 21:06:37 CEST 2009


Nope, still no success.
I have now used three different programmers: usbasp, ponyprog and jtag ice.
Ponyprog and jtag ice both verifies the downloaded hex.
I think I now ruled out the programmer. It is definitely _not_ a problem
with the programmer.

Did I forget something during setup?
This is what I did (after installing ethernut 4.8.2 and updating PATH to
include nut\tools\win32):
1: Loading MMnet01.conf in configurator
2: Repository tab:
Repository file: nut\conf\repository.nut
3: Build tab:
Source dir: nut
Platform: avr-gcc
Build dir: C:\ethernut-4.8.2\MMnet01_nut
Install dir: C:\ethernut-4.8.2\MMnet01_nut\lib
4: Tools tab:
Tools path: C:\ethernut-4.8.2\nut\tools\win32;c:\winavr\bin;   (winavr
version is 20090313)
5: Samples tab:
Application dir: C:\ethernut-4.8.2\MMnet01_samples
Programmer: AVR-dude

I then execute "build Nut/OS" followed by "Create Sample Directory"
Then I open a command prompt, navigate to MMnet01_samples\basemon dir and
execute the "make" command.
I then use the JTAG ICE in AVR Studio to flash the basemon.hex. Programming
process returns "FLASH contents is equal to file ... OK".

Then from within TERA TERM I setup a serial connection at 115200 baud, reset
the MMnet01 and hit spacebar on my PC, and then .... nothing happens
It is definitely _not_ a problem with my serial connection - the "uart"
sample application works fine.

Now, what do you suggest? Buy another MMnet01 module to exlude the board
from the list of potential causes?

\Martin





2009/4/20 Martin Clausen <margucl at gmail.com>

> Yes, the basemon from propox is smaller.
> I will try out your suggestions. I will also try another programmer (I use
> usbasp).
>
> \Martin
>
> 2009/4/20 Harald Kipp <harald.kipp at egnite.de>
>
> Hi Martin,
>>
>> Martin Clausen wrote:
>> > problems - avrdude burns and verifies the file correctly. However when I
>> try
>> > to burn basemon (or httpd) avrdude returns a verfication error (mismatch
>> at
>> > byte ....). Propox have mailed me a basemon.hex file to let me test my
>> > hardware. This basemon file,(version 4.0.2 compiled with AVRGCC. Nut/OS
>> > 3.4.3.1), burns and operates correctly.
>>
>> basemon and httpserv are the largest binaries in the sample directory.
>> I'd assume a problem with the programming adapter or the PC interface.
>> The basemon you got from Propox is smaller than yours?
>>
>> You may try
>>
>> 1. Another PC
>> 2. Another avrdude version
>> 3. Add dummy routines to the uart sample until it grows beyond 64k (size
>> of the .bin file)
>>
>>
>> > Now, having verified my hardware, I guess my problem is my MMnet01
>> > configuration. However, after studying the MMnet01 manual and the
>> individual
>> > lines in the MMnet01.conf file I don't see any errors.
>>
>> It's definitely _not_ a problem with the Nut/OS configuration.
>>
>> Harald
>>
>> _______________________________________________
>> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>>
>
>


More information about the En-Nut-Discussion mailing list