Hello Mike,
as a user of your FF3.6 I tried to build the 3.8 source with the use of the UART mode for the "foreground task" (the 18F2620 has no USB). But the building failed with: Error - section 'IRQ_STACK' can not fit the section. Section 'IRQ_STACK' length=0x0000011a.
The FF3.7 building succeeded.
I think the "IRQ_STACK udata" is the problem. In FF3.7 you make a hard allocation of the sections!?
I'm not so competent in Macro programming and I don't know how I can mix up the automatic and handy allocation of sections.
Maybe you find an easy way out to build your new FF3.8 for non USB users.
regards Karsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Mike,
now it works. It was not so easy to tell MPLAB which linker file it should take. I edited my FF_UART.mcp extern by an Editor. Now the linker takes the right file.
Have a nice week end
Karsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thats strange that you have to edit the project file externally.
Usually I just add the linker file to the project in the graphical IDE.
Of course not needed linker files must be removed from the project.
Quite simple and I have never had any problems with that.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FF3.8 and FF4.8 are now released and available in the download area.
Mike
Hello Mike,
as a user of your FF3.6 I tried to build the 3.8 source with the use of the UART mode for the "foreground task" (the 18F2620 has no USB). But the building failed with: Error - section 'IRQ_STACK' can not fit the section. Section 'IRQ_STACK' length=0x0000011a.
The FF3.7 building succeeded.
I think the "IRQ_STACK udata" is the problem. In FF3.7 you make a hard allocation of the sections!?
I'm not so competent in Macro programming and I don't know how I can mix up the automatic and handy allocation of sections.
Maybe you find an easy way out to build your new FF3.8 for non USB users.
regards Karsten
Hi Karsten,
You must remember to use the FF_0000.lkr linker file.
This is also set up in the FF_UART.mcp project. The error you get is consistent with using the
FF_USB.mcp project for a chip without USB.
This is also described in the install.txt file.
BR Mike
Thank you Mike,
now it works. It was not so easy to tell MPLAB which linker file it should take. I edited my FF_UART.mcp extern by an Editor. Now the linker takes the right file.
Have a nice week end
Karsten
Thats strange that you have to edit the project file externally.
Usually I just add the linker file to the project in the graphical IDE.
Of course not needed linker files must be removed from the project.
Quite simple and I have never had any problems with that.
Mike