Created Wed, 11 Mar 2015 20:44:04 +0000 by tudilol95
Wed, 11 Mar 2015 20:44:04 +0000
exception_mem' not declared ld.exe:613: warning: memory region
kseg1_data_mem' not declared
vector_offset_init.o:(.__vector_offset_BF810540_data+0x0): undefined reference to __vector_offset_0' vector_offset_init.o:(.__vector_offset_BF810540_data+0x4): undefined reference to
__vector_offset_1'
vector_offset_init.o:(.__vector_offset_BF810540_data+0x8): undefined reference to `__vector_offset_2'4and it goes on... How can i fix it or what can i do to compule my Wifire via Visual Micro code?
Wed, 11 Mar 2015 23:29:25 +0000
The Wi-FIRE is very different to the other boards out there. It uses the new MZ chip which has a very different memory arrangement.
Consequently the instructions on how to link are different. There is a special set of MZ linker scripts - a common one in the MPIDE core with the MX common one, and a chip specific one in the variant folder for the Wi-FIRE.
You have to ensure that you are linking with those linker scripts, not the default MX linker scripts.
Sun, 15 Mar 2015 19:04:59 +0000
Please inform me exactly what to do (step by step if possible)or how to include the correct files or what to do such that I can compile and program my chipkit Wi-fire?
Sun, 15 Mar 2015 19:10:58 +0000
I don't have the faintest clue (nor do I want the faintest clue) about how to use Visual Studio to program microcontrollers, so I can't help you there.
All I can suggest is to load MPIDE and to a verbose compile (shift-click compile) and try and replicate the commands it uses (especially the link command) within your software.