Barebones SX350 bottom feeder

Status
Not open for further replies.

Alexander Mundy

Ribbon Twister
ECF Veteran
Verified Member
Apr 1, 2013
4,408
26,100
Springfield, MO
They specifically advertise the ability to change boot screens. One would think that they would include a GUI to both flash the chip and change the boot screen.

I wonder, however, if flashing the chip erases all of those changes to the bootscreen.

I wouldn't help much if I sold these mods and changed the boot screen to bGT mods (or whatever) only to have it default back to the hideous "YiHi" when the chip is upgraded. Hopefully they can address this issue so that the boot screen will not be overwritten when the chip is flashed.

Yes, the logos are in the upgrade so if a customer upgraded from a file besides the one you provided with your logo whatever (YIHI) was in the upgrade would be the boot logo.
 

blueGrassTubb

Ultra Member
ECF Veteran
Verified Member
Mar 21, 2014
1,223
824
The Bluegrass
Yes, the logos are in the upgrade so if a customer upgraded from a file besides the one you provided with your logo whatever (YIHI) was in the upgrade would be the boot logo.

So, good for home made mods, not so much for customizing it for commercial purposes.

The only thing I can think that would negate the image going bye bye is that a large majority of users are very unlikely to ever upgrade this chip.
 

Alexander Mundy

Ribbon Twister
ECF Veteran
Verified Member
Apr 1, 2013
4,408
26,100
Springfield, MO
Finished the vital subroutines but need to clean up the code and the GUI.
Also on the " ' things to do" list:
Add subroutines to view and change the internal alphanumeric character set.
Add subroutines to change the internal graphics. (like the lock symbol, etc)

Bottom line though is.................it works.

Got to do stuff that pays the bills now.

 

Alexander Mundy

Ribbon Twister
ECF Veteran
Verified Member
Apr 1, 2013
4,408
26,100
Springfield, MO
No documentation.
Had to reverse engineer the .sxi flash upgrade to the processor and write code to modify it appropriately.
I have a guess what MCU and display driver chip they used, but that doesn't matter for what I did.
If you have the .sxi file and the board you have everything I started with.
 

blueGrassTubb

Ultra Member
ECF Veteran
Verified Member
Mar 21, 2014
1,223
824
The Bluegrass
Finished the vital subroutines but need to clean up the code and the GUI.
Also on the " ' things to do" list:
Add subroutines to view and change the internal alphanumeric character set.
Add subroutines to change the internal graphics. (like the lock symbol, etc)

Bottom line though is.................it works.

Got to do stuff that pays the bills now.



Excellent job!

Are you reconsidering releasing your program in the wild?

Something tells me that they have their own GUI specifically for this. They advertise a customizable flash screen, surely they have a method of letting people do that (or at least big Chinese factories that will buy in this chip).

The one thing I find severely lacking with the SX350 is the utter dearth of documentation. I shouldn't have to email someone who doesn't speak English very well and wait for days for a response just to get some basic answers that don't really address my question adequately.

A basic wiring diagram, chip diagram, and other basics (such as screen cutout sizes) are all hidden somewhere. This basic info should come in the box. I shouldn't have to negotiate with the manufacturer in order to maybe get them.
 
Last edited:

Alexander Mundy

Ribbon Twister
ECF Veteran
Verified Member
Apr 1, 2013
4,408
26,100
Springfield, MO
Excellent job!

Are you reconsidering releasing your program in the wild?

Something tells me that they have their own GUI specifically for this. They advertise a customizable flash screen, surely they have a method of letting people do that (or at least big Chinese factories that will buy in this chip).

The one thing I find severely lacking with the SX350 is the utter dearth of documentation. I shouldn't have to email someone who doesn't speak English very well and wait for days for a response just to get some basic answers that don't really address my question adequately.

A basic wiring diagram, chip diagram, and other basics (such as screen cutout sizes) are all hidden somewhere. This basic info should come in the box. I shouldn't have to negotiate with the manufacturer in order to maybe get them.

I feel it is too dangerous to release. There are not any fail safes to keep someone from bricking their board. Also, the next update will more than likely require changes which could make using it with the current program automatically brick it when uploading.

I am fairly certain the customized option from YiHi is for purchasers of large quantity. It wouldn't take much time at all with the original compiler to create an upgrade with custom boot logo.

onedesign1 whom I got mine from sent me wiring info he had made with the board, but it is not from the factory. They really do need to have a PDF with basic info like Evolve does. (And written or proofed by a person whom "American" or at least English is their first language. Also a basic CAD and PDF with dimensions of the board and cutout would be great. bapgood has a really neat insert for the sx350 and charger and also hammond box covers. sx350 on Shapeways, the 3D Printing Marketplace and Community

BTW: bapgood, thank you so much for the time you devote to this hobby without any personal monetary gain!
If the mods would allow I would gladly pay the extra you could get through Shapeways.

I ordered one of these along with some DNA stuff:

625x465_1944217_2793598_1399666929.jpg
 
Last edited:

DejayRezme

Super Member
ECF Veteran
  • Mar 22, 2014
    910
    523
    Europe

    blueGrassTubb

    Ultra Member
    ECF Veteran
    Verified Member
    Mar 21, 2014
    1,223
    824
    The Bluegrass
    I feel it is too dangerous to release. There are not any fail safes to keep someone from bricking their board. Also, the next update will more than likely require changes which could make using it with the current program automatically brick it when uploading.

    I am fairly certain the customized option from YiHi is for purchasers of large quantity. It wouldn't take much time at all with the original compiler to create an upgrade with custom boot logo.

    onedesign1 whom I got mine from sent me wiring info he had made with the board, but it is not from the factory. They really do need to have a PDF with basic info like Evolve does. (And written or proofed by a person whom "American" or at least English is their first language. Also a basic CAD and PDF with dimensions of the board and cutout would be great. bapgood has a really neat insert for the sx350 and charger and also hammond box covers. sx350 on Shapeways, the 3D Printing Marketplace and Community

    BTW: bapgood, thank you so much for the time you devote to this hobby without any personal monetary gain!
    If the mods would allow I would gladly pay the extra you could get through Shapeways.

    I ordered one of these along with some DNA stuff:

    625x465_1944217_2793598_1399666929.jpg

    I've been looking at the Bapgood stuff for a week or so already. I have 3 boxes to mess with. It's a good bet that one of his faceplates will end up in one of them. I'm going to see if he'd be willing to remove the fire button from the face on the 1590A faceplate.
     

    TruckerMSA

    Ultra Member
    ECF Veteran
    Verified Member
    Mar 11, 2014
    1,024
    2,899
    Elizabethtown, Kentucky, United States
    I feel it is too dangerous to release. There are not any fail safes to keep someone from bricking their board. Also, the next update will more than likely require changes which could make using it with the current program automatically brick it when uploading.

    I am fairly certain the customized option from YiHi is for purchasers of large quantity. It wouldn't take much time at all with the original compiler to create an upgrade with custom boot logo.

    onedesign1 whom I got mine from sent me wiring info he had made with the board, but it is not from the factory. They really do need to have a PDF with basic info like Evolve does. (And written or proofed by a person whom "American" or at least English is their first language. Also a basic CAD and PDF with dimensions of the board and cutout would be great. bapgood has a really neat insert for the sx350 and charger and also hammond box covers. sx350 on Shapeways, the 3D Printing Marketplace and Community

    BTW: bapgood, thank you so much for the time you devote to this hobby without any personal monetary gain!
    If the mods would allow I would gladly pay the extra you could get through Shapeways.

    I ordered one of these along with some DNA stuff:

    625x465_1944217_2793598_1399666929.jpg

    As the chances of bricking the device is there but unlikely. As a former custom theme and ROMS maker for Microsoft mobile devices back in the day, changing out an image is fairly easy and safe as long as the pic is same size and format. I've done this many times and never bricked a device. The chances are extremely great for bricking the device if you change the code but that's not what we are wanting to do. We are wanting to change 2 BMP pics.
     

    Alexander Mundy

    Ribbon Twister
    ECF Veteran
    Verified Member
    Apr 1, 2013
    4,408
    26,100
    Springfield, MO
    As the chances of bricking the device is there but unlikely. As a former custom theme and ROMS maker for Microsoft mobile devices back in the day, changing out an image is fairly easy and safe as long as the pic is same size and format. I've done this many times and never bricked a device. The chances are extremely great for bricking the device if you change the code but that's not what we are wanting to do. We are wanting to change 2 BMP pics.

    They are not stored as bitmap images, but are in the flash upgrade file as conversion from 64X48 1bbp (monochrome not grey scale) to 1 dimensional byte arrays with each 8 bit byte (big-endian) representing 8 inverted pixels from left to right in 8 pixel bands (6 byte bands) top to bottom. The smaller (non full display) sized blocks (like the alphanumeric font blocks and some of the graphics) are in a different format. Fortunately (at least in this upgrade) they do not use a CRC routine in the code to either stop a modified upgrade (which a programmer should do for product integrity) or worse. In future upgrade versions these blocks could well be in a completely different format since that is totally dependent on the code surrounding these blocks and will certainly be at different offset locations either due to the size of the file or the compiler using a different pointer address for them. Even overwriting one bye on either side of these sections of blocks would of course change something in the code which could have effects ranging from minor to disastrous. If anything was changed in the boot sector and written to the board it would of course be game over with no way of re-flashing.

    If someone understands the first sentence of this post then it would be safe to assume they would have a good chance of not altering the code. (At least for this upgrade file) Course in the first sentence I just gave away the vital parts of what I reverse engineered for the full sized display blocks and they can now write their own program. :)

    Releasing the program to someone else leaves open the chance it could get into the wild and someone could brick their board and then blame me. :facepalm:
     

    DejayRezme

    Super Member
    ECF Veteran
  • Mar 22, 2014
    910
    523
    Europe
    Releasing the program to someone else leaves open the chance it could get into the wild and someone could brick their board and then blame me. :facepalm:

    The best thing really would be to have Yihi release a version of their software (that already looks pretty customer friendly) with the ability to add your own images. Joyetech offers it for the eVic Supreme but you have to name your image files a specific way, so not really user friendly either.
    You could release the software to ONLY work with the current firmware. That way new conflicting firmware images can't be corrupted, and the worst thing to happen would be to downgrade your new yihi sx350. But releasing a software even as a "use as it is" thing always creates additional work and headaches. But maybe if someone else is willing to

    Is it me? or is shapeways extremely expensive ????

    They are not really expensive considering the professional machines and business expensive they have. I think they are still working at a loss in order to build up the 3D printing business. Their (and i.materialize) printers are printing 24/7.

    If you know a friend or a friend of a friend who has a 3D printer, you could ask them to print out a design, but you'd need the stl or cad file first. It only costs like 30€ for a kilogram of plastic filament and time to print stuff on a private printer. I'm waiting for parts to arrive to build my own DIY 3D printer (about 700€ and lots of time) and I'm really excited about it. But shapeways printers likely produce a better visual quality.
     

    Alexander Mundy

    Ribbon Twister
    ECF Veteran
    Verified Member
    Apr 1, 2013
    4,408
    26,100
    Springfield, MO
    I have been informed by someone in the know that YiHi is indeed considering releasing software to allow anyone to modify the boot logos and maybe more. There is also talk about some of it being open source for peeps like me. I don't know if that would be in the form of an API, but that is the norm for this kind of stuff. With an API they can keep safeguards in place yet allow hackers external programmers to build programs that extend capabilities of the released version. I have some mid 4 digit business software that I have reverse engineered out of curiosity, but use the API because it is much safer than risking my business data.

    Bottom line is that it would be at least 1000% better to use software from the manufacturer since they wrote the code to begin with and if something does go wrong they don't have the option of going "tough toenails, you used unauthorized software".
     
    Status
    Not open for further replies.

    Users who are viewing this thread