foss-for-synopsys-dwc-arc-processors / openocd

The development tree for OpenOCD for the Synopsys DesignWare ARC processor family
Other
15 stars 12 forks source link

add iotdk flash driver support #34

Open vonhust opened 5 years ago

vonhust commented 5 years ago

Could you add the iotdk flash driver support into openocd?

So users can download their program into iotdk's flash through gdb and openocd

Iotdk has two flashs supporting XIP

There are already some simple drivers in embarc_osp for reference. https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/tree/master/board/iotdk/drivers/smic

ruuddw commented 5 years ago

See https://github.com/zephyrproject-rtos/zephyr/issues/15793 for a user requesting this.

abrodkin commented 5 years ago

@ruuddw @vonhust @nashif how urgent is this one? Is it blocking any Zephyr release activities?

ruuddw commented 5 years ago

It's not blocking a release, and there's other ways of using the board for developement. But, it would be good to support the 'standard' way of working for this board instead of only downloading to ICCM/DCCM with the debugger.

anthony-kolesov commented 5 years ago

Note that there is a frawework for flash support in https://github.com/foss-for-synopsys-dwc-arc-processors/openocd/tree/master/src/flash/nand