Page 3 of 3

Re: Creating larger ROMs

Posted: Sat Jul 20, 2019 8:35 pm
by pthwebdev
OK, that was a lot of work. This is my first external module, so there were quite a lot of things I had to find out.

The bad news: 0x4030000 is indeed the limit when reading flash as regular memory. The pattern is not exactly as in the documentation, but the data is, read after read, dump after dump, not stable beyond the limit. Probably some random noise.

The good news is: porting the code does read the resources, even beyond 0x4030000.

The code is still somewhat rough around the edges and needs some work (e.g. an iterator, see if it works with the webserver). I did not have time to paint it or to build it to scale.

The complete image is 2973032 and has 2352680 bytes of resources. This is exaggerated because there are many copies of the same jpg.

I am happy with the result.