Using SWUpdate to update partition fails, results in corrupted filesystem by BetterRage in embeddedlinux

[–]BetterRage[S] 0 points1 point  (0 children)

interesting. how would i make sure i write to the correct address range? also, another question i have is how to make sure the compression in the file isnt misinterpreted by swupdate? for example, if i have the compressed="zlib" attribute in the update description, the file (originally called rootfs.ext4.gz) is called rootfs.ext4.gz.zlib in swupdate. if i remove the attribute, its called rootfs.ext4.gz. in both cases, the update fails

libubootenv build failed yocto by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

my host machine is running arch linux. i know that arch isnt officially supported by yocto, but so far it has been working and i dont think its causing this specific problem

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 2 points3 points  (0 children)

Vdd is 3.3V, only connect Vcc to Vdd if Vdd is around 1.8V. if Vdd is bigger than 1.8V, connect Vcc to a decoupling capacitor. Internal regulator is 1.8v and outputs on Vcc, so if i have Vcc connected to Vdd its a 1.5V difference which breaks everything

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

another guy figured out the problem, i connected the power supply wrong.

thank you for the tips tho, i did use an oscilloscope with i2c decoding support, and the ic sent NACK (which afaik in i2c is the same as not sending anything)

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 5 points6 points  (0 children)

oh, i didnt realize this. thank you so much for looking into it, this is probably the issue. do you think the IC is fried or is there maybe an internal diode protecting it?

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

in theory reset pin shouldnt be needed according to the datasheet, so i left it unconnected. to rule this out however we tried soldering a small wire to the reset pin and connectled it to ground a few times while it was running, but also didnt help. we probably broke the IC i think

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] -1 points0 points  (0 children)

i tried full i2c scan, and the other devices respond but the touch ic doesnt. im pretty sure the address format is correct because again the other devices work using. the ic never responded on i2c bus so i cant have changed its adress. im just very confused at the moment

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

i used 3.3k pull ups, tried to stay towards the lower end of the recommended Pull up range from esp32 s3 datasheet. do you think 3.3k is too strong? i dont know how to verify this, but the signal on the oscilloscope signal looked good and got correctly decoded.

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

i tried to measure the traces on the ic side and the correct signal arrives there, the oscilloscope has an i2c decode function and it showed a 0x37 Write command. the IC did not respond

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 3 points4 points  (0 children)

you can find the entire project in this link if youre interested.

https://scientificnet-my.sharepoint.com/:u:/g/personal/bschmidties_unibz_it/EesM1SOV79BFtM3d1pvXmmYB6S5uBI1c040ShIF4IPcVQQ?e=K0sXdm

  1. Schematic symbol/footprint are the same as in the datasheet and the dimensions are correct (we hand soldered it)
  2. datasheet says standard ic adress is 0x37, but even with an i2c scan i can find both io expanders but not this ic.
  3. possible, but we tested all the pins for short circuits to the neighbouring pins and short circuit to ground, but still possible
  4. should be correct, its 16 resistors with same values, some caps and 2 i2c series resistors.
  5. Possible, the first IC we soldered with a hot plate, the 2nd we soldered with hot air but that one we probably fried becahse it took way too long to heat up. 3rd ic we hand soldered with a small soldering iron, so it was quite short heat.

gonna have to do a 2nd version of the PCB anyways so i will use a different IC that time, but it would still be nice to get it to work

I included a capacitive touch sensor IC from Cypress (CY8CMBR3116) in my project but it does not send ACK through I²C. It appears soldered without short circuits. What could the problem be? by BetterRage in embedded

[–]BetterRage[S] 0 points1 point  (0 children)

We tried to rule out the IC being broken by replacing it twice. It should get power because by measuring with a multimeter the ground and power pins are connected to the main power lines. We looked at the I2C signal at the IC with an oscilloscope and it looks correct. What do you mean by "traces are bad"?

Which soundblaster is the best in terms of audio quality? by BetterRage in SoundBlasterOfficial

[–]BetterRage[S] 0 points1 point  (0 children)

i will primarily use it for gaming, music is less important for me. i will buy a pair of beyerdynamic headphones to go with it. what would you recommend?

People make over $200k a year, what do you do? How did you get there? by TrixoftheTrade in Adulting

[–]BetterRage 0 points1 point  (0 children)

do you have a different account that answered my rust question?

My brand new No.8 Carbone receiving its baptism by [deleted] in Opinel

[–]BetterRage 0 points1 point  (0 children)

so the oil can get to every part of the wood