MPLAB C30 Compiler to MPLAB X XC16 Compiler

General discussion

MPLAB C30 Compiler to MPLAB X XC16 Compiler

Postby 7L1RLL » 08 Dec 2014 13:30

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'
Last edited by 7L1RLL on 09 Dec 2014 12:20, edited 1 time in total.
7L1RLL
 
Posts: 25
Joined: 22 Feb 2012 07:43
Location: Japan

Re: MPLAB C30 Compiler to MPLAB X XC16 Compiler

Postby 7L1RLL » 09 Dec 2014 11:16

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
7L1RLL
 
Posts: 25
Joined: 22 Feb 2012 07:43
Location: Japan


Return to Juma Discussion

Who is online

Users browsing this forum: No registered users and 14 guests

cron