herooftheday Posted January 4 Report Share Posted January 4 (edited) Hi I wanted to use the xeniumprogrammer on one of my chips. It runs fine until the Verify part of the flash memory, I have looked for shorts and nothing out of the orinary. Everything seems fine. Edited January 4 by herooftheday Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 4 Report Share Posted January 4 You need to add a line of code to the source code and recompile. I’ll have to find it later. It’ll be a few hours before I can get to it . 1 Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 4 Author Report Share Posted January 4 no problem thank you ^^ Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 4 Report Share Posted January 4 Xenium-flash.cpp around line 174 //write byte to flash flash.Write(i, flash_buffer[i]); while(flash.Read(0) != flash.Read(0)); float current_progress = (float) i / flash_size * 100.0f; need to add bold line 1 Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 4 Report Share Posted January 4 Essentially your flash is a bit slower than pi wants. This line tells it to wait until flash is ready for next write command. 1 Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 4 Author Report Share Posted January 4 (edited) sadly still the same "I did recompile" Edited January 4 by herooftheday Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 4 Report Share Posted January 4 Hmmm I would’ve thought that was it. I had same problem 1 Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 4 Author Report Share Posted January 4 hmm shit Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 4 Author Report Share Posted January 4 I currently use a rpi 2B maybe I will try again with a pi zero w Quote Link to comment Share on other sites More sharing options...
Bowlsnapper Posted January 4 Report Share Posted January 4 10 minutes ago, herooftheday said: I currently use a rpi 2B maybe I will try again with a pi zero w You know what I did? When I saw this, I held down the pi against the pogo pins. Even though it had already jtagged first, something about the pogos pushing the chip up at an angle caused the pin header to have an issue. The female header wasn't contacting properly when torqued at an angle by the pogo pins. . I put pressure on the pogo side to the point where the chip was flat, reflashed, and Xenium OS made it through the LPC okay. Just try it. I had the same exact problem. Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 4 Report Share Posted January 4 and just to be sure.... after adding that line... you redid "./install" ? 1 1 Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 4 Author Report Share Posted January 4 2 hours ago, Dtomcat18 said: and just to be sure.... after adding that line... you redid "./install" ? Yes 2 hours ago, Bowlsnapper said: pogos pushing the chip up at an angle caused the pin header I do use Breadbord jumpers on the one side and soldered to the chip on the jtag and with a pinheader on the lpc side but I bought all the parts for it. Quote Link to comment Share on other sites More sharing options...
Bowlsnapper Posted January 5 Report Share Posted January 5 5 hours ago, herooftheday said: Yes I do use Breadbord jumpers on the one side and soldered to the chip on the jtag and with a pinheader on the lpc side but I bought all the parts for it. Oh dang. Okay. NVM I just built it how @Dtomcat18 did and I don't know how common that approach may actually be. Eventually it DID flash, but maybe some flashes/CPLDs are finicky for whatever reason. You could always come up with a flashing console and once you JTAG the CPLD, hotswap it while the xenium tools xbe is running and flash it that way. Bit more roundabout but it does work as long as the CPLD is sound. Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 7 hours ago, Bowlsnapper said: hotswap it while the xenium tools xbe is running and flash it that way. can I do that with an aladdin modchip and than hotswap to the xenium? Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 5 Report Share Posted January 5 Yes Quote Link to comment Share on other sites More sharing options...
Bowlsnapper Posted January 5 Report Share Posted January 5 8 hours ago, herooftheday said: can I do that with an aladdin modchip and than hotswap to the xenium? Just make sure that the xenium-tools program is actually running before you hotswap. If you try to do it in the dash, for example, and then try to load the xbe with a blank xenium on the header, your xbox will freeze. Evidently the bios is called on in the flash every time an executable is run. I really don't know why. I would like to know. I thought it was kept in memory always You will need the flash dump of xeniumOS, with xeniumOS and the rest of the flash blank. https://drive.google.com/file/d/1JBsEBU59AzfZAt9eEmzBn1jN6GrjQl9n/view?usp=drive_link Just place it in the same folder as the xbe and flash it when selecting the proper entry in the tools menu. Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 thx I got everything for it, sadly not the firsttime hotswaping I alsogot the XeniumOS_2.3.5_No_Pineapples. Gruß Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 (edited) Success did work with hotswap Edited January 5 by herooftheday 1 Quote Link to comment Share on other sites More sharing options...
Bowlsnapper Posted January 5 Report Share Posted January 5 55 minutes ago, herooftheday said: Success did work with hotswap Woohoo! Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 5 Report Share Posted January 5 Awesome... glad it worked out... I'm wondering if it's a wiring thing... or maybe just dump and start from scratch building the software side again Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 well I just desoldered the wires from the chip and put it in the console and started it, maybe it is not ok with the pi 2B? Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 5 Report Share Posted January 5 that is possible... perhaps it's too slow? I've used a 3B and a Pi Zero W Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 (edited) Pi Zero W is it not slower like a rpi1? Edited January 5 by herooftheday Quote Link to comment Share on other sites More sharing options...
herooftheday Posted January 5 Author Report Share Posted January 5 for the pcb do I need the big cap? sadly there is no bom? Quote Link to comment Share on other sites More sharing options...
dtomcat Posted January 5 Report Share Posted January 5 honestly don't know LOL... just confirming that it works with those two 9 minutes ago, herooftheday said: Pi Zero W is it not slower like a rpi1? That is for power stability and may make a difference 6 minutes ago, herooftheday said: for the pcb do I need the big cap? sadly there is no bom? 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.