Not 100% sure whether this is a bug, or just me using things in an unintended way. Anyway, its the same in at least Chibi 20 and 21.
I have a QSPI flash device as the only component connected to the QSPI bus on a 32F767. To avoid access collisions, I set:
#define SNOR_SHARED_BUS TRUE
This should ...
Search found 834 matches
- Wed Apr 23, 2025 1:24 pm
- Forum: Bug Reports
- Topic: QSPI flash access management
- Replies: 2
- Views: 12032
- Thu Nov 21, 2024 9:48 am
- Forum: General Support
- Topic: starting openocd with debug launcher
- Replies: 4
- Views: 26588
Re: starting openocd with debug launcher
I just create a small batch file in the project directory which starts up openOCD in a project-specific way, such as:
REM starts in the Eclipse directory
cd ..\tools\openocd\
REM bin\openocd -s "scripts" -f board/st_nucleo_f7.cfg -l /Temp/Chibi/oocd.log -f add_rtos.cfg
bin ...
REM starts in the Eclipse directory
cd ..\tools\openocd\
REM bin\openocd -s "scripts" -f board/st_nucleo_f7.cfg -l /Temp/Chibi/oocd.log -f add_rtos.cfg
bin ...
- Thu Oct 24, 2024 3:12 pm
- Forum: General Support
- Topic: Running a program after linking
- Replies: 1
- Views: 23565
Running a program after linking
The standard 'make' process runs other programs once linking is complete - for example the one that generates the listing.
Is it possible to add another similar task without editing the Chibi standard files?
(I've got it working by editing rules.mk at present)
Is it possible to add another similar task without editing the Chibi standard files?
(I've got it working by editing rules.mk at present)
- Wed Oct 16, 2024 8:38 am
- Forum: General Support
- Topic: [USB] Jump to internal bootloader
- Replies: 7
- Views: 27565
Re: [USB] Jump to internal bootloader
I make sure virtually everything is reset to startup values, which may well be overkill. In particular, I found that not clearing down the MPU caused some problems.
- Wed Aug 28, 2024 10:36 am
- Forum: Bug Reports
- Topic: LWIP: bug in sys_now
- Replies: 12
- Views: 67367
Re: LWIP: bug in sys_now
Go for the "Giovanni" approach. (Although a bit more testing than I've done wouldn't be a bad idea)
My suggestion definitely doesn't work with 16-bit systick (not that it was intended to). There may also be a problem with higher frequency 32-bit systicks, but I'm not inclined to pursue what was ...
My suggestion definitely doesn't work with 16-bit systick (not that it was intended to). There may also be a problem with higher frequency 32-bit systicks, but I'm not inclined to pursue what was ...
- Tue Aug 27, 2024 6:26 pm
- Forum: Bug Reports
- Topic: LWIP: bug in sys_now
- Replies: 12
- Views: 67367
Re: LWIP: bug in sys_now
Any feedback?
Giovanni
I like that general approach:
a) It's reasonable to require systick >=1kHz (I haven't seen systick <1kHz on any of the examples, and 10kHz or more seems about right for the faster processors, which are the ones with Ethernet).
b) One function regardless - no test cases to ...
Giovanni
I like that general approach:
a) It's reasonable to require systick >=1kHz (I haven't seen systick <1kHz on any of the examples, and 10kHz or more seems about right for the faster processors, which are the ones with Ethernet).
b) One function regardless - no test cases to ...
- Fri Aug 23, 2024 10:07 am
- Forum: Bug Reports
- Topic: LWIP: bug in sys_now
- Replies: 12
- Views: 67367
Re: LWIP: bug in sys_now
I've compared the two options for SYSTICK of 5kHz, 10kHz, 50kHz, 100kHz.
For the first two, both proposals agree.
For the second two, the results diverge.
Given this, I'd tend towards my solution because its easier to understand (extend the SYsTick counter beyond 32 bits, then divide), which is ...
For the first two, both proposals agree.
For the second two, the results diverge.
Given this, I'd tend towards my solution because its easier to understand (extend the SYsTick counter beyond 32 bits, then divide), which is ...
- Wed Aug 21, 2024 4:26 pm
- Forum: Bug Reports
- Topic: LWIP: bug in sys_now
- Replies: 12
- Views: 67367
Re: LWIP: bug in sys_now
Didn't find that proposal.
I'd tend towards the SourceForge suggestion, simply on the basis that it appears to have covered all the options (I'd really just covered the one that mattered to me).
However depends how well its been tested.
I'll try and run it through my test harness in the next few ...
I'd tend towards the SourceForge suggestion, simply on the basis that it appears to have covered all the options (I'd really just covered the one that mattered to me).
However depends how well its been tested.
I'll try and run it through my test harness in the next few ...
- Tue Aug 20, 2024 5:44 pm
- Forum: Bug Reports
- Topic: LWIP: bug in sys_now
- Replies: 12
- Views: 67367
Re: LWIP: bug in sys_now
I concur. I've added a routine which extends the resolution of chVTGetSystemTimeX() for that specific case (it doesn't appear necessary to include the adjustments by 1):
/**
* This routine creates a 32-bit incrementing timer tick which returns all possible
* values before wrapping round. ...
/**
* This routine creates a 32-bit incrementing timer tick which returns all possible
* values before wrapping round. ...
- Sun Mar 31, 2024 9:09 pm
- Forum: STM32 Support
- Topic: A-D "Linear Buffer" conversion on 32L031
- Replies: 3
- Views: 15907
Re: A-D "Linear Buffer" conversion on 32L031
Yes, that's it, thankyou. (Maybe a little update to the documentation? I couldn't find any detail on this)
Thinking about it, this could probably be handled automatically in adc_lld_start_conversion().
The A-D drivers I looked at all had a piece of code along the lines of:
cfgr1 = grpp->cfgr1 ...
Thinking about it, this could probably be handled automatically in adc_lld_start_conversion().
The A-D drivers I looked at all had a piece of code along the lines of:
cfgr1 = grpp->cfgr1 ...