NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 276 seconds]
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 248 seconds]
tsal has joined #openocd
wingsorc has quit [Ping timeout: 260 seconds]
Bertl_oO is now known as Bertl_zZ
_whitelogger has joined #openocd
nerozero has joined #openocd
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest59 has joined #openocd
Guest59 has quit [Client Quit]
wtywtykk has joined #openocd
wtywtykk has quit [Quit: Client closed]
wtywtykk has joined #openocd
wtywtykk has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
wingsorc has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
wtywtykk has joined #openocd
<wtywtykk> Hi, is there any way to use FLM files in openocd? Many manufacturers seem to only provide keil's FLM download algorithms.
Bertl_zZ is now known as Bertl_oO
Hawk777 has joined #openocd
akaWolf has quit [Ping timeout: 272 seconds]
akaWolf has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<borneoa_> wtywtykk: openocd use its own internal way to code the flash algorithm. Just for curiosity I checked what FLM files are. It's part of ARM sw, to be checked if license allows integration in openocd and if it makes sense to use it https://arm-software.github.io/CMSIS_5/Pack/html/flashAlgorithm.html
<borneoa_> wtywtykk: so far, I'm not aware of any patch proposed for supporting FLM
<wtywtykk> I found Sysprogs has implemented something similar in their release. They both use ELF file, and call functions in ELF to write/erase flash. https://github.com/sysprogs/openocd/blob/master/src/flash/FLASHPlugin.c
Hawk777 has quit [Ping timeout: 250 seconds]
nerozero has quit [Ping timeout: 240 seconds]
<borneoa_> wtywtykk: the code from sysprogs is not the same as arm FLM. Sysprogs search in the elf the symbol "FLASHPlugin_InitDone" https://github.com/sysprogs/openocd/blob/72c3119d65a1b8efec5c4a3a81333518d960eaa8/src/flash/FLASHPlugin.c#L332
<borneoa_> wtywtykk: cannot use an arm FLM with sysprogs code
<borneoa_> wtywtykk: the arm code is under Apache 2 license. I think it's not compatible with GLP v2. At the end we only need the declarations in that file.h... to be checked.
wtywtykk has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Hawk777 has joined #openocd
sbach has quit [Read error: Connection reset by peer]
Hawk777 has quit [Quit: Leaving.]
sbach has joined #openocd
<karlp> pretty suee apache 2 can be one way used in gpl.
<karlp> apache2 being an actually free license
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<borneoa_> karlp: only with GLPv3
<borneoa_> karlp: "Despite our best efforts, the FSF has never considered the Apache License to be compatible with GPL version 2..."
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<borneoa_> karlp: but we probably don't care. Just sent a mail to the list on this.
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd