Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: utzig, lbednarz, tfAteba, barthess, RoccoMarco

Viljami
Posts: 8
Joined: Tue Apr 05, 2022 3:32 pm
Has thanked: 8 times

Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Viljami » Tue Jun 21, 2022 4:55 pm

Hello folks!

Are there differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free versions?

The settings&configs were exactly the same for the previous ones but data size was 0 for ChibiOS 21.11.1 free.

ChibiOS 21.11.1 free based application did not start, a lsusb command did not see USB addr etc.

ChibiOS 21.11.1:

Code: Select all

text   data       bss       dec       hex
35748   268    130800    166816     28ba0


ChibiOS 21.11.1 free:

Code: Select all

text    data   bss       dec       hex
13096    0   131072    144168     23328


Best regards

Viljami

User avatar
Giovanni
Site Admin
Posts: 14056
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 990 times
Been thanked: 839 times
Contact:

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Giovanni » Tue Jun 21, 2022 5:09 pm

Hi,

The code is exactly the same, note that the commercial "free" version has some restrictions, it enforces:

Code: Select all

#define CH_CFG_ST_FREQUENCY                 1000
#define CH_DBG_STATISTICS                   FALSE
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_DISABLED


Make sure to keep those options the same. The only thing that could affect you is the frequency, please verify this.

BTW, if this is the case then I could simply lift the restriction in next free release (21.11.2), there is no really need for that anymore. You could also give 21.11.2 a try now and see if everything is OK for you.

Giovanni

Viljami
Posts: 8
Joined: Tue Apr 05, 2022 3:32 pm
Has thanked: 8 times

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Viljami » Wed Jun 22, 2022 11:23 am

Hello again Giovanni!

I tried the following parameters&values but no success:

Code: Select all

#define CH_CFG_ST_FREQUENCY                 1000
#define CH_DBG_STATISTICS                   FALSE
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_DISABLED


Do you have a version 21.11.2 free somewhere?

Best regards

Viljami

User avatar
Giovanni
Site Admin
Posts: 14056
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 990 times
Been thanked: 839 times
Contact:

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Giovanni » Wed Jun 22, 2022 11:34 am

Hi,

You should try those parameters on the GPL version and see if it shows the same problem, those parameters are already enforced on the "free" version.

21.11.2 free is not yet available, I could do that over weekend.

Giovanni

Viljami
Posts: 8
Joined: Tue Apr 05, 2022 3:32 pm
Has thanked: 8 times

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Viljami » Wed Jun 22, 2022 1:26 pm

Hello again Giovanni!

My parameters&values are

Code: Select all

#define CH_CFG_ST_FREQUENCY                 10000
#define CH_DBG_STATISTICS                   FALSE
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_ALL

Chibios versions 21.11.1 and 21.11.2 started (with my parameters&values) but 21.11.1 free did not.

I tried the following parameters&values but no success (my application did not start) for 21.11.1, 21.11.2 and 21.11.1 free:

Code: Select all

#define CH_CFG_ST_FREQUENCY                 1000
#define CH_DBG_STATISTICS                   FALSE
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_DISABLED

Best regards
Viljami

User avatar
Giovanni
Site Admin
Posts: 14056
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 990 times
Been thanked: 839 times
Contact:

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Giovanni » Wed Jun 22, 2022 1:34 pm

Hi,

So it is:

CH_CFG_ST_FREQUENCY set to 1000 that prevents your application from working. Is there anything in your application that requires 10000? Post your mcuconf.h, it could be that 1000 cannot be obtained because your other settings.

Anyway, I will make CH_CFG_ST_FREQUENCY unconstrained in 21.11.2 so you could just wait for that.

Another suggestion, try to enable assertions in chconf.h and see if something is caught.

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 10 guests