PIC32MX460 and the PIC demos

barbercolman wrote on Thursday, March 04, 2010:

Because I am working on a product that will use a PIC32MX460 I am using the PIC32 starter kit version 1 instead of version 2. Other then the error “main.c:44: error: unknown configuration setting: ‘FSRSSEL’” is there any other known issues?

I am just removing the FSRSSEL for now.
Thanks

rtel wrote on Thursday, March 04, 2010:

The ports for the original and new parts are identical.  The FSRSSEL bit is only applicable to the new parts, so you are right to remove it.  You may also have to change the memory map if the amount of Flash or RAM is different.

Regards.

barbercolman wrote on Friday, March 05, 2010:

Thanks. I have used FreeRTOS with a AVR part but this is the first PIC32 project I have done. Nothing like jumping into the deep end of the pool. Are the sample project using custom linker files? So far just changing the selected device appear to be working.

petermeier wrote on Friday, March 05, 2010:

You can find many resources on the microchip web page.

Custom Linker Script Example: http://ww1.microchip.com/downloads/en/DeviceDoc/custom_ld_file_c32_example.zip
Serial Bootloader for PIC32: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en536741

Personally i prefer the Bootloader example to understand the linker script. That document helped me to finished my USB/SD-Card Bootloader.

Regards

rtel wrote on Friday, March 05, 2010:

Are the sample project using custom linker files?

Thinking about it now, I don’t think I ever wrote a linker script for a PIC32, so they cannot be custom.

Regards.