⚠️ Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
You cannot use Keil in order to program the flash of the 586 you will need to use the Smart Snippets studio and not keil. Open the Smart Snippets and select the 586 version of the family, make sure that the appropriate pins that interact with the flash are selected (P20/CLK, P23/SPI_EN, P24/SPI_DI, P29/SPI_DO and make sure that the vcc of the flash is powered), hit the connect button, erase the flash and burn the fw that you want.
I tried and no success. I am trying to program internal flash not external, so why would I need (P20/CLK, P23/SPI_EN, P24/SPI_DI, P29/SPI_DO). I only need SW_CLK and SWDIO.
You mentioned that you would like to program the flash, the 586 has an embedded flash that is connected to the pins mentioned above internally (you can check the datasheet for this). So you will have to configure those pins in order for the flash programmer of Smart Snippets to be aware about those pins. Also what is your goal, to program the 586 sysram (just download code and run an example) ? Or program the embedded flash of the 586 and boot from the flash ?
I can program sysram with Uvision normally. But I want to program the embedded flash so I can boot from it. I tried with the Smartsnipet and I set all SPI ports. I can connect but erasing failed. Must I set something in SPI Flash options?
Since you 've selected from the initial dialog box that the SoC that you are interfacing is the 586, then there is no need to perform any changes to any other configuration. Please make sure that you have selected the proper SoC and that the proper pins for the internal flash are selected and also that the vcc flash jumper on the pro kit is populated. If that fails, please try to restart the tool and upon restarting check the pins again and make sure that they are properly configured.
我做了我所拥有的一切Flash Vcc connected to power supply. All SPI Flash pins are set correctly when I choose 586 family, but I noticed that size of flash is empty. I don't have development kit but custom board. SPI Flash pins are not connected anywhere on the board.
Well, there is no other setting or configuration in order to program the internal memory of the 586, the last thing i can suggest is to check the version of the Smart Snippets tool that you are using, (on my side i use the 4.8.3.1804 and i am perfectly able to interact with the flash on a pro kit Connect / Erase / Burn). Apart from that, have you tried with another board in case something is wrong with that specific one ?
Hi Cusko,
You cannot use Keil in order to program the flash of the 586 you will need to use the Smart Snippets studio and not keil. Open the Smart Snippets and select the 586 version of the family, make sure that the appropriate pins that interact with the flash are selected (P20/CLK, P23/SPI_EN, P24/SPI_DI, P29/SPI_DO and make sure that the vcc of the flash is powered), hit the connect button, erase the flash and burn the fw that you want.
Thanks MT_dialog
I tried and no success. I am trying to program internal flash not external, so why would I need (P20/CLK, P23/SPI_EN, P24/SPI_DI, P29/SPI_DO). I only need SW_CLK and SWDIO.
Hi Cusko,
You mentioned that you would like to program the flash, the 586 has an embedded flash that is connected to the pins mentioned above internally (you can check the datasheet for this). So you will have to configure those pins in order for the flash programmer of Smart Snippets to be aware about those pins. Also what is your goal, to program the 586 sysram (just download code and run an example) ? Or program the embedded flash of the 586 and boot from the flash ?
Thanks MT_dialog
I can program sysram with Uvision normally. But I want to program the embedded flash so I can boot from it. I tried with the Smartsnipet and I set all SPI ports. I can connect but erasing failed.
Must I set something in SPI Flash options?
Hi Cusko,
Since you 've selected from the initial dialog box that the SoC that you are interfacing is the 586, then there is no need to perform any changes to any other configuration. Please make sure that you have selected the proper SoC and that the proper pins for the internal flash are selected and also that the vcc flash jumper on the pro kit is populated. If that fails, please try to restart the tool and upon restarting check the pins again and make sure that they are properly configured.
Thanks MT_dialog
Hi,
我做了我所拥有的一切Flash Vcc connected to power supply. All SPI Flash pins are set correctly when I choose 586 family, but I noticed that size of flash is empty.
I don't have development kit but custom board. SPI Flash pins are not connected anywhere on the board.
Well, there is no other setting or configuration in order to program the internal memory of the 586, the last thing i can suggest is to check the version of the Smart Snippets tool that you are using, (on my side i use the 4.8.3.1804 and i am perfectly able to interact with the flash on a pro kit Connect / Erase / Burn). Apart from that, have you tried with another board in case something is wrong with that specific one ?
Thanks MT_dialog
I have the same version. I will try with different board next week, maybe something is really wrong with this. We'll see. Thanks for now.
我也有同样的问题,Have you solved it yet? By the way,Does the emulator not support?
Not jet. I am waiting for another board. For J-link programmer I use one from old development board DA1480DEVKT.