Search found 151 matches

by mikeprotts
Tue Oct 20, 2020 1:09 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 85
Views: 5931

Re: [DEV] STM32H7xx support (new)

I've had this running for five days now, seems to be stable running as a web server and MQTT client. Only tested with the original STM32H743 with Nucleo-H743ZI.

Mike
by mikeprotts
Thu Oct 15, 2020 2:21 pm
Forum: General Support
Topic: Detect compilation for ChibiOS
Replies: 2
Views: 213

Re: Detect compilation for ChibiOS

Not entirely elegant, but would this work, coding everything as chsnprintf etc and: #if !defined(chsnprintf) #define chsnprintf snprintf #endif or maybe use your own mysnprintf that maps as: #if defined(chsnprintf) #define myprintf chsnprintf #else #define myprintf snprintf #endif or else use a pref...
by mikeprotts
Thu Oct 15, 2020 9:28 am
Forum: ChibiOS/RT
Topic: Need help: VT List corrupted
Replies: 5
Views: 205

Re: Need help: VT List corrupted

Does the STM32F407 work with the current trunk (i.e. your working old code/CPU combination ported to the ChibiOS trunk)? Did you start with a new set of chconf.h, mcuconf.h & halconf.h (e.g. from the new trunk for the correct CPU demo or testhal) and then reapply your required settings? I've had...
by mikeprotts
Wed Oct 14, 2020 4:42 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 85
Views: 5931

Re: [DEV] STM32H7xx support (new)

That makes sense - I'll get onto that, probably later next week though. Is there a preference to do this in the header or source file? If I keep it as a separate patch, it will make it easier to revert if no longer needed when the ST headers are corrected. The other patches stand I think. Cheers Mike
by mikeprotts
Wed Oct 14, 2020 4:30 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 85
Views: 5931

Re: [DEV] STM32H7xx support (new)

A quick check & it's running, but will be a while before I can give better confirmation. I've created patches (svn diffs) for the issues others had spotted and my use of memory pools for LWIP. MACv2 (bugs in my code): MACv2.xPS_SUSPENDED.patch to correct the registers used when checking for tran...
by mikeprotts
Wed Oct 14, 2020 2:50 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 85
Views: 5931

Re: [DEV] STM32H7xx support (new)

I'll take a look, may be a few days.

Thanks
Mike
by mikeprotts
Tue Sep 29, 2020 5:13 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 85
Views: 5931

Re: [DEV] STM32H7xx support (new)

Docs: Bits 11:8 RPS0[3:0]: DMA Channel Receive Process State This field indicates the Rx DMA FSM state for Channel: 000: Stopped (Reset or Stop Receive Command issued) 001: Running (Fetching Rx Transfer Descriptor) 010: Reserved for future use 011: Running (Waiting for Rx packet) 100: Suspended (Rx ...
by mikeprotts
Tue Sep 15, 2020 1:57 pm
Forum: Bug Reports
Topic: Nucleo H743ZI board has wrong pin for LED 2
Replies: 3
Views: 127

Re: Nucleo H743ZI board has wrong pin for LED 2

My board is the older version, and has blue LED 2 on PB7.

Mike
by mikeprotts
Thu Sep 10, 2020 11:37 am
Forum: Bug Reports
Topic: warning compiling chibios 20.3 with gcc 10.2
Replies: 4
Views: 252

Re: warning compiling chibios 20.3 with gcc 10.2

It is meant to not be zero terminated if the length is equal to buffer size, not sure about how to handle the warning. So the destination is a character array rather than a string. The logic seems to be: if (strlen(name) < CH_CFG_FACTORY_MAX_NAMES_LENGTH) { strncpy(dep->name, name, CH_CFG_FACTORY_M...
by mikeprotts
Wed Sep 02, 2020 4:01 pm
Forum: STM32 Support
Topic: LWIP DHCP problem.
Replies: 10
Views: 396

Re: LWIP DHCP problem.

The definition of the RAM areas needs to be correct, are you using the STM32F746xG_ETH.ld or STM32F746xG_MAX.ld linker script?

Mike

Go to advanced search