In ports/stm32f4xx/dlmstp.c version 1.3.2 line 397: Shouldn't that be "NOT" expecting a reply? Otherwise it's the exact same If( ) a few lines above. if (frame_type == FRAME_TYPE_BACNET_DATA_EXPECTING_REPLY) { frame_type = FRAME_TYPE_BACNET_EXTENDED_DATA_EXPECTING_REPLY; cobs_bacnet_frame = true; } else if (frame_type == FRAME_TYPE_BACNET_DATA_EXPECTING_REPLY) { frame_type = FRAME_TYPE_BACNET_EXTENDED_DATA_NOT_EXPECTING_REPLY; cobs_bacnet_frame = true; } else if ((frame_type < Nmin_COBS_type) ||...
Thank you so much!! Dan… On Sun, Dec 17, 2023 at 4:39 PM Steve Karg skarg@users.sourceforge.net wrote: Here are known good bacnet.bin and bacnet.hex for the stm32f4xx with RS485 shield DFR0259. It hard-codes device 103, MS/TP MAC=2, baud=38400bps. Validated with Contemporary Controls BAS-Router. Built on Linux using arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621. Attachments: bacnet.bin https://sourceforge.net/p/bacnet/discussion/402141/thread/b9ad394198/3355/ab9d/c7f0/attachment/bacnet.bin...
if I could get a "known good" .bin to flash onto my own hardware, or someone to flash my compiled .bin onto known good hardware that would be big help. Dan... On Thu, Dec 14, 2023 at 12:11 AM Steve Karg skarg@users.sourceforge.net wrote: Which STM32 board are you using? Which RS485 adapter are you using? Are you using ports/stm32f10x or ports/stm32f4xx? CRC? https://sourceforge.net/p/bacnet/discussion/402141/thread/b9ad394198/?limit=25#3355 Sent from sourceforge.net because you indicated interest...
The STM32 Discovery board with the F1 chip. I have your 485 daughterboard attached to it. I've also compiled the F4 port with no issues and pushed it into a few chips checking for any signs of output. Dan... On Thu, Dec 14, 2023 at 12:11 AM Steve Karg skarg@users.sourceforge.net wrote: Which STM32 board are you using? Which RS485 adapter are you using? Are you using ports/stm32f10x or ports/stm32f4xx? CRC? https://sourceforge.net/p/bacnet/discussion/402141/thread/b9ad394198/?limit=25#3355 Sent from...
I would like to transition from the BDK to the STM32 and i'm stuck getting started. The code compiles straight away with no issues with gcc and I can upload it to the "Discovery" board without error using the old v4 st-link windows utility but from there I get nothing out of the board. Compiled, my .bin file is 33,112 bytes and the CRC32 is a4d17cf2 I'm trying to decide where to invest my time, hardware or software issue. Without a known good .bin to upload I've been shoving this code in other test...
I would like to transition from the BDK to the STM32 and i'm stuck getting started. The code compiles straight away with no issues with gcc and I can upload it to the "Discovery" board without error using the old v4 st-link windows utility but from there I get nothing out of the board. Compiled, my .bin file is 33,112 bytes and the CRC32 is a4d17cf2 I'm trying to decide where to invest my time, hardware or software issue. Without a known good .bin to upload I've been shoving this code in other test...
I've been using v.0.8.3 for a while now and decided to kick the tires on v1.0.0. Should ports/bdk compile right out of the box?? I dont mind digging in a getting it to work, just asking if this is expected behavior or has a simple fix that i'm missing. I'm using Atmel Studio 7.0 No issues with v1.0.0 compiling under Linux. Dan... Severity Code Description Project File Line Error recipe for target 'bacnet.elf' failed bacnet C:\bacnet-stack-1.0.0\ports\bdk-atxx4-mstp\Debug\Makefile 828 Error undefined...