Hi
When I tried a 32k binary file to write to my flash ( which is 2M ), I always have this error msg :
Warning: target.c:853 target_alloc_working_area(): not enough working area available(requested 32768, free 16300)
Warning: target.c:853 target_alloc_working_area(): not enough working area available(requested 16384, free 16300)
Anyone had any idea what could have gone wrong ? Did I set some command wrongly ?
My cfg file is as below :
======================================
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG A”
ft2232_layout “olimex-jtag”
ft2232_vid_pid 0x15BA 0x0003
jtag_speed 20
#use combined on interfaces or targets that can’t set TRST/SRST separately
#reset_config trst_and_srst separate
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
run_and_halt_time 0 30
working_area 0 0x40000000 0x4000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14745 calc_checksum
flash bank cfi 0x80000000 0x200000 2 2 0
pre-OpenOCD189
#flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14745 calc_checksum
For more information about the configuration files, take a look at:
http://openfacts.berlios.de/index-en.ph … p+Debugger
=============================================