Search found 13 matches

by JMifune
Mon Jul 26, 2021 9:45 pm
Forum: ChibiStudio
Topic: ChibiStudio 2021-07 Win10 64 & Board.chcfg not working
Replies: 4
Views: 43423

Re: ChibiStudio 2021-07 Win10 64 & Board.chcfg not working

Also openocd won't work on some newer chips/revisions, H743 rev V (NUCLEO-H743ZI2) for example.
I've replaced openocd folder with the latest release from xpack (win32-x64) and at first glance it works.
by JMifune
Fri Jul 23, 2021 1:02 pm
Forum: ChibiStudio
Topic: ChibiStudio 2021-07 Win10 64 & Board.chcfg not working
Replies: 4
Views: 43423

ChibiStudio 2021-07 Win10 64 & Board.chcfg not working

Fresh studio install in C:\
Latest Java 64 installed
When I select .chcfg and hit generate button or menu, nothing happens.
No console output, only button and configuration menu disappers:
4Tf8YgnJ33.gif

Tried it on two Win10 64 machines (both fully updated) with the same result.
by JMifune
Tue Jul 20, 2021 1:11 pm
Forum: Development and Feedback
Topic: [NEWS] Introducing MFS
Replies: 45
Views: 55146

Re: [NEWS] Introducing MFS

Giovanni wrote:Hi,
It could be a limit of the test case, could you try to increase MFS_CFG_MAX_RECORDS proportionally? it is 32, try making it 128.
Giovanni

Thanks, it helped.
by JMifune
Tue Jul 20, 2021 10:54 am
Forum: Development and Feedback
Topic: [NEWS] Introducing MFS
Replies: 45
Views: 55146

Re: [NEWS] Introducing MFS

I've tried EFL-MFS tests on F407 Discovery. (Chibistudio 2021-07-RC1 trunk, GCC 10)
It successfully completes with bank_size 4096 or less, but stops @ Test Case 1.7 (Testing garbage collection by erasing) if I set the bank_size to 8192 or more.
.bank_size = 8192U,
.bank0_start = 10U ...
by JMifune
Tue Oct 08, 2019 5:02 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

I've figured it out.
Before enabling DAC3/4, DAC_MCR register MODEx bits must be set to 011 (DAC channelx is connected to on chip peripherals with Buffer disabled).
Default MODE bits are 000 (external pin with Buffer enabled), witch is not an option for DAC3/4.
Also HFSEL bits must be managed ...
by JMifune
Mon Oct 07, 2019 7:33 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

Tried the same opamp6 config + DAC3 CH1 in CubeMX.
It works.
by JMifune
Mon Oct 07, 2019 11:37 am
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

Yes, I have tested it DMA and DAC1 output is working now.

Still can not figure out why I can not get signal out of DAC3/4.
DMA is working on DACD5-8 and all opamps enabled as followers and working properly when VP_SELs are set to connect to external pins.
But when I set OPAMPx_CSR VP_SEL to 11 to ...
by JMifune
Sun Oct 06, 2019 9:42 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

Looks like it. DAC itself works, output is stuck on initial value.

I've tried to route DAC3 and DAC4 outputs through opamps configured as followers.
Always get ~0.6V on outputs, no matter the DACs initial values.
by JMifune
Sun Oct 06, 2019 6:00 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

Thanks, I've ported DAC1 testhal example, but the DAC streaming callback does not fire.

It is still on DACD1 as in original example, the only changes I made was to DAC_TRG bits - 0x7 for Tim6 on G474.
From the reference manual DAC_TRG_MASK is 4 bits long, but the top bit is used only for HRTIM.
by JMifune
Sat Oct 05, 2019 5:58 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 117940

Re: [DEV] STM32G4xx support

Thanks, Giovanni.
Demo builds and works just fine.

There are 4 new much faster DAC channels on DAC3 and DAC4.
But DACv1 driver only supports DAC1 and DAC2, can you add support for the new DACs?