CR6Community / CR-6-touchscreen

CR-6 SE touchscreen software extended with more functionality and pages than the stock CR-6 touchscreen software.
https://cr6community-support-team.gitbook.io/cr6comm-touchscreen-refactored-firmware-docs/
151 stars 34 forks source link

Updating via uart #64

Closed vklachkov closed 2 years ago

vklachkov commented 3 years ago

Hello!

I don't have an sd card for updating the firmware and I decided to implement the update via uart. This possibility is present, according to the documentation. It seems like it's enough to send 32kb to RAM, and then send a write command to flash memory.

Documentation. Took the information from pages 16, 36, 48

But it doesn't work. The screen reports OK, but the memory is filled incorrectly - after a reboot, it shows a black screen and does not respond. I've been sitting here all day, rereading the documentation, experimenting. But to no avail.

If anyone helps , I will be grateful!

Code. DwinUpdater.zip

Sebazzz commented 2 years ago

I think @grobux did some testing on this.

vklachkov commented 2 years ago

I think @grobux did some testing on this.

If someone helps me, I will be very glad. During all the experiments, I received a stable update, but 32.icl is only partially updated. Only the first background is present, there are no others. For how many weeks I've been struggling and everything is useless

vklachkov commented 2 years ago

I think @grobux did some testing on this.

If someone helps me, I will be very glad. During all the experiments, I received a stable update, but 32.icl is only partially updated. Only the first background is present, there are no others. For how many weeks I've been struggling and everything is useless

I figured it out, the question is closed

Sebazzz commented 2 years ago

Can you enlighten us? 😁

[X]

Met vriendelijke groet, Sebastiaan Dammann


Van: Valery Klachkov @.> Verzonden: Thursday, December 2, 2021 6:26:30 PM Aan: CR6Community/CR-6-touchscreen @.> CC: Sebastiaan Dammann @.>; Comment @.> Onderwerp: Re: [CR6Community/CR-6-touchscreen] Updating via uart (#64)

Closed #64https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCR6Community%2FCR-6-touchscreen%2Fissues%2F64&data=04%7C01%7C%7C73a6c4eba0a64f73af8208d9b5b8e107%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637740627921868417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6X3dt9n1Vb%2FxMU1xBODBTjG7vktGUc9x9TH%2FwdGQZ3w%3D&reserved=0.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCR6Community%2FCR-6-touchscreen%2Fissues%2F64%23event-5707412460&data=04%7C01%7C%7C73a6c4eba0a64f73af8208d9b5b8e107%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637740627921868417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gVtC3K7m97D7UrJGdA3fA2oReDCde41jyiP26n2%2BtSM%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAK4FMLFE4FSDNBK3A5NWQLUO6T4NANCNFSM5CNWUTFA&data=04%7C01%7C%7C73a6c4eba0a64f73af8208d9b5b8e107%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637740627921878376%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tu1Fb6rjitbwdmyuoeG%2Bhkm8gsbjLZzB4lCQr%2Bk7zWk%3D&reserved=0.