whitequark changed the topic of #glasgow to: digital interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow (FUNDED)
fibmod has quit [Ping timeout: 256 seconds]
fibmod has joined #glasgow
egg|laptop|egg__ has quit [Read error: Connection reset by peer]
egg|laptop|egg_ has joined #glasgow
redstarcomrade has quit [Quit: Connection closed for inactivity]
Foxyloxy has quit [*.net *.split]
lxdr has quit [*.net *.split]
lxdr has joined #glasgow
Foxyloxy has joined #glasgow
egg|laptop|egg_ has quit [Remote host closed the connection]
GNUmoon has quit [Ping timeout: 276 seconds]
richbridger has quit [Ping timeout: 268 seconds]
GNUmoon has joined #glasgow
richbridger has joined #glasgow
GNUmoon has quit [Quit: Leaving]
GNUmoon has joined #glasgow
egg|laptop|egg_ has joined #glasgow
egg|laptop|egg_ has quit [Remote host closed the connection]
egg|laptop|egg_ has joined #glasgow
bvernoux has joined #glasgow
bvernoux has quit [Quit: Leaving]
<d1b2> <brainstorm> Thanks @whitequark , let's see if I understand this... from what I'm reading, other than merging the classes, modifying the _fvfyi function is also needed so that isdata.data gets formatted into valid JED format?: https://github.com/GlasgowEmbedded/glasgow/blob/2439f1c4cf6ab366aab8303a45cdef396623e3ce/software/glasgow/applet/program/xc9500xl/__init__.py#L354-L372
kaji has joined #glasgow
emilazy has quit [Quit: Bridge terminating on SIGTERM]
jevinskie[m] has quit [Quit: Bridge terminating on SIGTERM]
whitequark has quit [Quit: Bridge terminating on SIGTERM]
fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
Chips4Makers[m] has quit [Quit: Bridge terminating on SIGTERM]
kaji has quit [Quit: Bridge terminating on SIGTERM]
emilazy has joined #glasgow
whitequark has joined #glasgow
kaji has joined #glasgow
jevinskie[m] has joined #glasgow
Chips4Makers[m] has joined #glasgow
fridtjof[m] has joined #glasgow
emilazy has quit [Quit: Client limit exceeded: 20000]
whitequark has quit [Quit: Client limit exceeded: 20000]
jevinskie[m] has quit [Quit: Client limit exceeded: 20000]
<kbeckmann> memory-25x question. just want to check if i am using the command right. i want to erase-program with 64kB sector size which is supported by the connected flash. is this command line correct? `glasgow run memory-25x --port A -V 1.8 -f 4000 erase-program -S 65536 -P 256 -f dump.bin 0`
emilazy has joined #glasgow
whitequark has joined #glasgow
jevinskie[m] has joined #glasgow
<kbeckmann> the reason I ask is that the data that i read out does not match. if i change to -S 4096, it works fine.
<kbeckmann> the binary is 4MB exactly, so using 64kB sectors should be fine.
<miek> what's the part number of the flash?
<whitequark> I think a part of your messages got lost
<whitequark> the question you asked, specifically
<miek> "memory-25x question. just want to check if i am using the command right. i want to erase-program with 64kB sector size which is supported by the connected flash. is this command line correct? `glasgow run memory-25x --port A -V 1.8 -f 4000 erase-program -S 65536 -P 256 -f dump.bin 0`"
<kbeckmann> ah thanks for reposting.
<kbeckmann> the output of identify: https://allg.one/2bvQ
<kbeckmann> the chip is MX25U3232F
<kbeckmann> the documentation for PP tells that "One to 256 bytes can be sent" so -P 256 should be fine right?
<miek> as far as i can see, the applet always uses opcode 0x20 (4kB sector erase) in erase-program. i'm not sure how -S is intended to work with that
<kbeckmann> oh interesting
<kbeckmann> i am sorry for not reading the docs properly. i realize now that this would never work unless glasgow picks a different command based on identify and sector size.
<kbeckmann> i somehow thought that because 64k was supported it would magically choose the right command but yeah. sorry for the noise. would be a cool feature though!
<whitequark> I misunderstood how SPI flash commands work
<whitequark> this needs to be fixed
betelgeuse has quit [Ping timeout: 260 seconds]
bvernoux has joined #glasgow
fibmod has quit [Ping timeout: 240 seconds]
fibmod has joined #glasgow
betelgeuse has joined #glasgow
jstein has joined #glasgow
egg|laptop|egg_ has quit [Remote host closed the connection]
redstarcomrade has joined #glasgow
egg|laptop|egg_ has joined #glasgow
XgF has quit [Remote host closed the connection]
XgF has joined #glasgow
betelgeuse has quit [Ping timeout: 264 seconds]
fibmod has quit [Ping timeout: 256 seconds]
egg|laptop|egg_ has quit [Remote host closed the connection]
egg|laptop|egg_ has joined #glasgow
fibmod has joined #glasgow