I have followed the steps on page 138 of the MQXUG to create my new BSP (mybsp) for release 3.1. I had previously done this in MQX3.0 and had no major problems.
Here is a brief overview of what i have done to get the error:
1. I follow all the steps in the UG pg 138 and get the mybsb.cw output files (which I believe both psp/bsb compile as expected, there are certainly no errors or warnings, paths are all updated, files all renamed, files all exist and appear normal).
2. I then create a new project in codewarrior where I want to use my new bsp/psp/lib. There is no way to select your own BSP or libraries from the list, so I am forced to choose the MQX library using the 52259EVB bsp (codewarrior only lists the default BSP's instead of looking in the output directory to give you all the available options). So this part is manually performed which is likely to be part of our problem.
3. I then remove all files in the "MQX Libraries" and reset to same files found in mybsp.cw
4. I change all the paths to match in the project options
5. I reset project entry paths and research for files
5. I go to build and i get the following two errors:
Link error : Overflow in segment: vectorrom from section: .vectors
Segment reserved size is: 0x0000000400 -- Overflow of: 0x0x0000000400
Link error : Overflow in segment: cfmprotorom from section: .cfmprotect
Segment reserved size is: 0x0000000400 -- Overflow of: 0x0x0000000400
I have not modified a single thing inside any file, just changed the names and paths...
Not sure what to do now, I have spent a couple of hours experimenting to see if I could work it out but have had no luck with something which should be very simple.
Solved! Go to Solution.
I have created a full step by step HOW TO for building a custom BSP. I dont have time to stuff around with FTP right now (lost password bla bla bla), but if someone wants to host it and post it up in the forums I will send you the PDF.
The document has full steps, pics and everything you need to get it working 100%.
I have created a full step by step HOW TO for building a custom BSP. I dont have time to stuff around with FTP right now (lost password bla bla bla), but if someone wants to host it and post it up in the forums I will send you the PDF.
The document has full steps, pics and everything you need to get it working 100%.
I can put your PDF in an accessible place if you want to send it to me, thanks.
you can email it to: james 'at' jhmrd.com
You can download Carl's excellent BSP build instuctions by clicking on this link: MQX Step by Step Build
Or by cutting and pasting into your browser if the link is not active:
http://jhmrd.com/MQX_Step_by_Step_Build.pdf
Thanks for posting it. Just remeber this was intended as an 'internal document' for us so we have put no real effort into it other than showing the minimum steps required. This document is intended as our 'refresher' so when we come back to the project later down the road we can pick it up and use it. If anyone wants to make it better, add new steps or just fix the steps, I pm me and I will supply the orginal word doc.
The main point is, this document does work and includes every single step.