Multiple pins configurations

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PiWy_2406846
Level 3
Level 3

I have two boards intended to host the same design. One of them is the true target board, the other is a FreeSoc2 for modelling purposes. Since the FreeSoc2 does not route all the TQFP100 pins and I would like to use the physically close pins of a single port (which implies port1) on the target board, I'd like to have two pins configurations in the same project, selectable during deployment. Is it possible do do it in Creator 4.1?

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This is why they call it hardware. It is hard to do 😉

   

Configuration "selectable during deployment" If that means after programming the PSoC you will need to find out (there is a 500 page TRM) and program the registers responsible for routing when your application runs. Usually a job Creator performs for you.

   

Another choice would be to use the bootloader selecting between two different projects.

   

When the selection you want to make is before programming the PSoC you may use the simple scheme to enable / disable components or even completely disable topdesign sheets.

   

 

   

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This is why they call it hardware. It is hard to do 😉

   

Configuration "selectable during deployment" If that means after programming the PSoC you will need to find out (there is a 500 page TRM) and program the registers responsible for routing when your application runs. Usually a job Creator performs for you.

   

Another choice would be to use the bootloader selecting between two different projects.

   

When the selection you want to make is before programming the PSoC you may use the simple scheme to enable / disable components or even completely disable topdesign sheets.

   

 

   

Bob

0 Likes

Bob,

   

I don't want to dynamically reconfigure the chip, I'd just like to have multiple build configurations in the "Design Wide Resources" section with configuration-specific pin mappings and manually select the appropriate configuration before compilation. The design doesn't need to have the ability to discover what is the target. And then let Creator compile my project according to the selected configuration as it usually does.

0 Likes

Heh, it seems that Creator allows me to add another "Design Wide Resources" item, but it wants to overwrite the existing one. And here's the problem: I'd like to have two different instances and switch between them, which is currently not possible. Any workaround?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Use three sheets for your topdesign: one general and two for the I/O pins.

   

Selecting the wanted configuration is done by disabling the appropriate sheet.

   

 

   

Bob