I am trying to compile juma tx500 firmaware (version 1.06a) by MPLAB X XC compiler(V1.23) instead of C30 compiler.
Because C30 Free version does not continue to be supported by Microchip any more.
There are many warnings and errors.
An example of final message is as follows :
QUOTE----
nbproject/Makefile-default.mk:316: *** You cannot create a production image using *.elf or *.cof as loadables. However you can debug your project. To be able to create a production image, you need *.hex files as loadables.. Stop.
UNQUOTE-----
Is there any experience, comment or suggestion ?
Rick 7L1RLL'
MPLAB C30 Compiler to MPLAB X XC16 Compiler
MPLAB C30 Compiler to MPLAB X XC16 Compiler
Last edited by 7L1RLL on 09 Dec 2014 12:20, edited 1 time in total.
Re: MPLAB C30 Compiler to MPLAB X XC16 Compiler
I successed to compile by MPLAB X(v1.90) and XC16 compiler(v1.23). The reason was a my misloading of DataEEPROM.o as reloadable files.
But I found an error on BORV_20 as brown out voltage of juma tx500.c. This may be BORV_27 for PIC30F6014A .
All unused valiables were deleted easily. But the other warning are kept as the original program.
---QUOTE---
//_FBORPOR(MCLR_EN & PWRT_64 & BORV_20); //Enable MCLR, power on timer, brown out 2V
_FBORPOR(MCLR_EN & PWRT_64 & BORV_27); //Enable MCLR, power on timer, brown out 2V->2.7 by 7L1RLL,2014.12.08
---UNQUOTE---
Thank you
Rick 7L1RLL
But I found an error on BORV_20 as brown out voltage of juma tx500.c. This may be BORV_27 for PIC30F6014A .
All unused valiables were deleted easily. But the other warning are kept as the original program.
---QUOTE---
//_FBORPOR(MCLR_EN & PWRT_64 & BORV_20); //Enable MCLR, power on timer, brown out 2V
_FBORPOR(MCLR_EN & PWRT_64 & BORV_27); //Enable MCLR, power on timer, brown out 2V->2.7 by 7L1RLL,2014.12.08
---UNQUOTE---
Thank you
Rick 7L1RLL
Who is online
Users browsing this forum: Bing [Bot] and 3 guests