MCU User Forum
  cp2201 ek img problem

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   cp2201 ek img problem
nikhilmuley7
Member
posted July 29, 2010 06:06 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
hi,
i am new in this forum.yesterday i bought cp2201ek ethernet kit. while converting hex2img i got this error message
" this hex file uses memory reserved by boot loader"
please help me out.

IP: Logged

Tsuneo
Member
posted July 29, 2010 08:13 AM     Click Here to See the Profile for Tsuneo   Click Here to Email Tsuneo     Edit/Delete Message
First, replace PORT_Init(), EMIF_Init(), ether_reset_low() and ether_reset_high(), as described on this page.

what to modify for the CP2201-EK
http://www.cygnal.org/ubb/Forum1/HTML/001691.html

And then, make the code bootloadable, following to this page.

How to modify the TCP/IP application code for bootloading?
http://www.cygnal.org/ubb/Forum1/HTML/002515.html


If you have one of SiLabs debug adapters, it makes your life easier. Connect the debug adapter to CP2201EK, shown on this link.
http://www.cygnal.org/ubb/Forum1/HTML/002373.html

If you want to recover CP2201EK original firmware, here is the link

CP2201EK Original Hex file
http://www.cygnal.org/ubb/Forum1/HTML/002259.html

Tsuneo

[This message has been edited by Tsuneo (edited July 29, 2010).]

IP: Logged

nikhilmuley7
Member
posted July 30, 2010 12:06 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
Tsuneo,
thanks for the reply i will check out your suggestion and within a day i will let you know the result.
and again thanks for your directions.

IP: Logged

nikhilmuley7
Member
posted July 30, 2010 01:09 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
hi Tsuneo,

i have made changes as you described in forum " what to modify for the CP2201-EK " and " How to modify the TCP/IP application code for bootloading? ".
after doing modification hex file size reduced from 155kb to 96kb.and when i use hex2img tool still it gives the error "memory reserved by the bootloader"

when i perform the change :

MN_STACK_BANK_0xx.LIB --> MN_STACK_BANK_BL_0xx.LIB
MN_STACK_COMMON_0xx.LIB --> MN_STACK_COMMON_BL_0xx.LIB


i got this error message:

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _MN_SMTP_START_SESSION
MODULE: C:\SiLabs\MCU\Examples\C8051F34x\Ethernet\CP2201EK_SOURCE\CP2201EK_AB4_STD\main.obj (MAIN)

>>
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _MN_HTTP_FIND_VALUE
MODULE: C:\SiLabs\MCU\Examples\C8051F34x\Ethernet\CP2201EK_SOURCE\CP2201EK_AB4_STD\main.obj (MAIN)

>> ADDRESS: 5D89H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: _MN_HTTP_FIND_VALUE
MODULE: C:\SiLabs\MCU\Examples\C8051F34x\Ethernet\CP2201EK_SOURCE\CP2201EK_AB4_STD\main.obj (MAIN)


and so on......

some other files are to be modified.
reply soon.

[This message has been edited by nikhilmuley7 (edited July 30, 2010).]

IP: Logged

Tsuneo
Member
posted July 31, 2010 12:20 AM     Click Here to See the Profile for Tsuneo   Click Here to Email Tsuneo     Edit/Delete Message
The warnings show that you've "replaced" the library files just on the project folder.
You need to "replace" them on the SiLabs IDE 'Files to Link' setting, too, as described on "5) Link order" section of "How to modify the TCP/IP application code for bootloading?" post.

> " this hex file uses memory reserved by boot loader"

If you would see this error message, even when you follow above procedure correctly, the firmware footprint is really too large to fit in to the 'F340. Try smaller project.

> reply soon.

Why I have to reply to you soon?
I'm just one of users of SiLabs products.
You are lucky. Usually, I ignore such a post.

Tsuneo

IP: Logged

nikhilmuley7
Member
posted July 31, 2010 02:49 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
hi Tsuneo,
thanks for helping me again and sorry for the "reply soon" actually my interpretation was that this conversation should carry on.it dosent mean that you are bound to reply.

thanks,
nikhil

IP: Logged

nikhilmuley7
Member
posted July 31, 2010 03:13 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
hi,
i have modified the content as per suggested by Tsuneo in "How to modify the TCP/IP application code for bootloading?" post.
After modifying the content silicon IDE gives an error " output file not found"and in output window this error is displayed

FATAL ERROR L204: INVALID KEYWORD
POS: 1142
CU\Examples\my_demo\CP2201EK_AB4_STD\CP2201EK_AB4_STD XD (10H) 0X2400 #

dose any one know where i get wrong...

thanks in advance.

nikhil

IP: Logged

nikhilmuley7
Member
posted August 03, 2010 03:34 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
i have one question ?

i dont have a tool stick and my netfinder utility is not working.

how to transfer hex file in cp2201 eb. but i have silab jtag adapter ......... can i use jtag pin for programming........ how ?


thanks
nikhil

IP: Logged

Tsuneo
Member
posted August 03, 2010 04:29 AM     Click Here to See the Profile for Tsuneo   Click Here to Email Tsuneo     Edit/Delete Message
> FATAL ERROR L204: INVALID KEYWORD
> POS: 1142
> CU\Examples\my_demo\CP2201EK_AB4_STD\CP2201EK_AB4_STD XD (10H) 0X2400 #

You've entered 0X2400 to linker command line flags, instead of CODE(0x2400)


> i dont have a tool stick

Why does tool stick concern to?


> my netfinder utility is not working

Register NetFinder to the personal firewall on Windows (or those of virus scanner) as an exception.

"Netfinder question"
posted September 28, 2007 10:00 AM by FarrisB

In the exceptions tab in the WinXP Firewall configuration, there is an option to add a firewall exception using the program's name

> but i have silab jtag adapter ......... can i use jtag pin for programming........ how ?

See the link on my first post.
http://www.cygnal.org/ubb/Forum1/HTML/002373.html
b) Direct FLASH

Tsuneo

[This message has been edited by Tsuneo (edited August 03, 2010).]

IP: Logged

nikhilmuley7
Member
posted August 04, 2010 12:10 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
hi Tsuneo,
thanks, direct flash worked.my netfinder utiliy is also fixed.
when i connect the device in lan it is detected by net finder utility but when i connect it directly to PC netfinder utility wont find the device.in both cases i have take care of cross and straight cable.i have also take care of ip address.

i have modified code using a step suggested in "what to modify for the CP2201-EK" and "How to modify the TCP/IP application code for bootloading?"

nikhil

IP: Logged

Tsuneo
Member
posted August 04, 2010 12:28 AM     Click Here to See the Profile for Tsuneo   Click Here to Email Tsuneo     Edit/Delete Message
> but when i connect it directly to PC netfinder utility wont find the device.

For this set up, you have to assign the IP address manually to the PC side, first.

Tsuneo

IP: Logged

nikhilmuley7
Member
posted August 04, 2010 06:13 AM     Click Here to See the Profile for nikhilmuley7   Click Here to Email nikhilmuley7     Edit/Delete Message
ahh......... thats what i am missing ...... thanks

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | MCU User Forum

Have you seen our MCU Knowledge Base?


Ultimate Bulletin Board 5.47b