forked from auracaster/openocd
pld: add support for lattice ecp5 devices
Change-Id: Ib2f0933da3abe7429abca86d6aaa50ad85ce72c7 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7397 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
d35faaa35c
commit
cf596a61db
19
src/pld/lattice_cmd.h
Normal file
19
src/pld/lattice_cmd.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2022 by Daniel Anselmi *
|
||||
* danselmi@gmx.ch *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef OPENOCD_PLD_LATTICE_CMD_H
|
||||
#define OPENOCD_PLD_LATTICE_CMD_H
|
||||
|
||||
#define ISC_ERASE 0x0E
|
||||
#define ISC_DISABLE 0x26
|
||||
#define LSC_READ_STATUS 0x3C
|
||||
#define LSC_INIT_ADDRESS 0x46
|
||||
#define LSC_BITSTREAM_BURST 0x7A
|
||||
#define READ_USERCODE 0xC0
|
||||
#define ISC_ENABLE 0xC6
|
||||
|
||||
#endif /* OPENOCD_PLD_LATTICE_CMD_H */
|
||||
Reference in New Issue
Block a user