You can have more than 32KB of code for the 583 but you need to have a licence for keil in order to compile more than 32KB of code, additional configurations for extending the the memory mapping of a 58x project should be done in the scatter file of your project for different memory configurations.
Hello, thank you for your feedback. How much additional code memory is addressable with the upgraded Keil compiler? is there a document with examples of different memory configurations? Best, scott
Hi, Dialog 你能更详细的解释一下吗? what is the 'additional configurations for extending the memory mapping'? And do I need to change the 'SetBits32(GP_CONTROL_REG, EM_MAP, 23)' where 23 to 15? Besides these, what else should be modified? Thanks a lot.
There is no standard procedure from Dialog in order to extend the memory of the device, only a few tips in order to gain some additional space which i ve mentioned in the following post:
Regarding additional changes or what is the mapping that one should follow again that depends on how one decides to arrange the memory on his system, there is no generic or an optimized solution for this. Regarding if you should change the mapping of the memory again that depends on how much sysram, how much ret ram and exchange memory you would like to have on your system. In general yes you could use a different EM_MAP in order to gain some extra space for the Sysram but this will also require to re-arrange the scatterfile, and again this is application specific and you will have to tailor it to your application.
If you use a licence for Keil the limit is the sysram of the 583, so about 42KB and also the 8KB of the retention RAM can be used, so the absolute maximum of the fw that you can download in the 583 can be up to 50KB in total. There aren't any additional scatterfiles that you could use as an example for additional memory configurations.
I ve never tested the SUOTA with code larger than 32K personally, but i don't think that you will have any problems, as far as i am aware the SUOTA profile isn't code size dependant in order to cause you trouble.
Hi sfullam,
You can have more than 32KB of code for the 583 but you need to have a licence for keil in order to compile more than 32KB of code, additional configurations for extending the the memory mapping of a 58x project should be done in the scatter file of your project for different memory configurations.
Thanks MT_dialog
Hello,
thank you for your feedback. How much additional code memory is addressable with the upgraded Keil compiler? is there a document with examples of different memory configurations?
Best,
scott
Hi, Dialog
你能更详细的解释一下吗?
what is the 'additional configurations for extending the memory mapping'? And do I need to change the 'SetBits32(GP_CONTROL_REG, EM_MAP, 23)' where 23 to 15?
Besides these, what else should be modified?
Thanks a lot.
Hi caizee,
There is no standard procedure from Dialog in order to extend the memory of the device, only a few tips in order to gain some additional space which i ve mentioned in the following post:
https://support.dialog-semiconductor.com/how-build-program-code-larger-32kb
Regarding additional changes or what is the mapping that one should follow again that depends on how one decides to arrange the memory on his system, there is no generic or an optimized solution for this. Regarding if you should change the mapping of the memory again that depends on how much sysram, how much ret ram and exchange memory you would like to have on your system. In general yes you could use a different EM_MAP in order to gain some extra space for the Sysram but this will also require to re-arrange the scatterfile, and again this is application specific and you will have to tailor it to your application.
Thanks MT_dialog
Hi sfullam,
If you use a licence for Keil the limit is the sysram of the 583, so about 42KB and also the 8KB of the retention RAM can be used, so the absolute maximum of the fw that you can download in the 583 can be up to 50KB in total. There aren't any additional scatterfiles that you could use as an example for additional memory configurations.
Thanks MT_dialog
So in case my code size is greater than 32K, will SUOTA still work. How much is the maximum code size at which SUOTA framework will work
Hi mutahir,
I ve never tested the SUOTA with code larger than 32K personally, but i don't think that you will have any problems, as far as i am aware the SUOTA profile isn't code size dependant in order to cause you trouble.
Thanks MT_dialog