This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430 example USB code for the MSP430F5529 will not compile when I change to a MSP430F5500

Other Parts Discussed in Thread: MSP430F5529, MSP430F5500

The example code I find it for the MSP430F5529, but my hardware has the MSP430F5500. Which I switch over in IAR and recompile I am getting the following error. How do I fix this?

Fatal Error[e72]: Segment DATA20_C must be defined in a segment definition option (-Z, -b or -P)

  • Which exactly example code did you compile? I did try it for simplest one - H0_SimpleSend - and it compiled OK under IAR.

    Also your device - MSP430F5500 - has only 8K of flash on-board. Even the simplest example mentioned above takes 7K, and it is basically only core USB HID functionality provided by MSP430 USB Developers Package 4.10.02, not much more. For serious USB programming you may consider device with more flash.

  • Serge A said:

    For serious USB programming you may consider device with more flash.

    Or with smaller USB stack size. My USB (CDC) stack size is 1 KB.

**Attention** This is a public forum