can you answer the above questions, and also: take...
# caravel
m
can you answer the above questions, and also: take a closeup photo of the board and share it here, try without a chip in place. what output do you get then?
a
Till now I have not tried with other chips . we have done some inspections on the board, there was no loose contact with the socket. But the fun part is that it worked properly many times before and took a sudden stop. Tomorrow I will try to change the chip and will update the details.
m
if it worked before and then stopped then it's probably a program written to the flash
what MPW run is the chip? There are known issues with MPW2/3/4 for caravan chips.
a
Sir, we have removed the chip and and tried to flash, the result is same as you have mentioned.
WhatsApp Image 2024-09-25 at 15.17.52_1508eab3.jpg
The chip run a MPW 6.
From this result can we assume that there is no problem with the Board.
We have removed and re installed the breakout board, as it was, we got the exact problem like earlier.
m
Have you tried Tim's suggestion: I suggest trying the method of holding down the reset button, disconnecting and reconnecting the USB, then running the hkflash program, all while continuing to hold the button down. That would check for the possibility that there is a program already on the flash chip that is disabling the housekeeping SPI pins shortly after power-up.
a
We tried to hold the reset button for about 10 seconds. We will try this method.
can you give the flow of doing the hkflash program. I don"t know if we are doing in the correct method.
m
if it worked before, you probably are.
you might have loaded a firmware that stops the ports from working or something
a
thanks for the valuable information, we will try that.
We have sorted it out sir, the problem was exactly as you mentioned, there was a loaded firmware.
A lot of thanks for guiding us through our problem.💯
🙌 1
m
can you give more details? what was the problem with the firmware? Then we'll know for next time
a
We don't Know the exact problem with the firmware, by pressing the rest button for the through out process it worked. we tried to connect an ultrasonic sensor (HCSR-04) and tried to find the readings. Actually it got stuck, later we dropped it and again tried the LED blink and it worked, on another day we got the all 0000 problem. Sir, how can we integrate analog sensors to the board?. Also is there any other way to create I2C peripheral other than the bit banging method?. What are the procedures to be followed for integrating sensors?