|
![]() MCU User Forum
![]() cp2201 ek img problem
|
| next newest topic | next oldest topic |
| Author | Topic: cp2201 ek img problem |
|
nikhilmuley7 Member |
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 |
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 And then, make the code bootloadable, following to this page. How to modify the TCP/IP application code for bootloading? If you have one of SiLabs debug adapters, it makes your life easier. Connect the debug adapter to CP2201EK, shown on this link. If you want to recover CP2201EK original firmware, here is the link CP2201EK Original Hex file Tsuneo [This message has been edited by Tsuneo (edited July 29, 2010).] IP: Logged |
|
nikhilmuley7 Member |
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 |
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? ". when i perform the change : MN_STACK_BANK_0xx.LIB --> MN_STACK_BANK_BL_0xx.LIB
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL >> >> ADDRESS: 5D89H *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
some other files are to be modified. [This message has been edited by nikhilmuley7 (edited July 30, 2010).] IP: Logged |
|
Tsuneo Member |
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? Tsuneo IP: Logged |
|
nikhilmuley7 Member |
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, IP: Logged |
|
nikhilmuley7 Member |
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 dose any one know where i get wrong... thanks in advance. nikhil IP: Logged |
|
nikhilmuley7 Member |
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 ?
IP: Logged |
|
Tsuneo Member |
> 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)
Why does tool stick concern to?
Register NetFinder to the personal firewall on Windows (or those of virus scanner) as an exception. "Netfinder question" > but i have silab jtag adapter ......... can i use jtag pin for programming........ how ? See the link on my first post. Tsuneo [This message has been edited by Tsuneo (edited August 03, 2010).] IP: Logged |
|
nikhilmuley7 Member |
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?" IP: Logged |
|
Tsuneo Member |
> 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 |
ahh......... thats what i am missing ...... thanks IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?