OpenOCD
cfi_send_command()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
cfi_send_command()
cfi_send_command() function
Syntax
from
cfi.h:157
int
cfi_send_command
(
struct
flash_bank
*
bank
,
uint8_t
cmd
,
uint32_t
address
)
;
Implemented in
cfi.c:162
Arguments
bank
cmd
address
References
Location
Referrer
Text
cfi.c:162
int
cfi_send_command
(
struct
flash_bank
*
bank
,
uint8_t
cmd
,
uint32_t
address
)
cfi.h:157
int
cfi_send_command
(
struct
flash_bank
*
bank
,
uint8_t
cmd
,
uint32_t
address
)
;
cfi.c:287
cfi_reset()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:291
cfi_reset()
retval
=
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:299
cfi_reset()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x00
)
)
;
cfi.c:309
cfi_intel_clear_status_register()
cfi_send_command
(
bank
,
0x50
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:536
cfi_read_spansion_pri_ext()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:642
cfi_read_atmel_pri_ext()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:849
cfi_intel_erase()
retval
=
cfi_send_command
(
bank
,
0x20
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:853
cfi_intel_erase()
retval
=
cfi_send_command
(
bank
,
0xd0
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:863
cfi_intel_erase()
retval
=
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:873
cfi_intel_erase()
return
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:882
cfi_spansion_unlock_seq()
retval
=
cfi_send_command
(
bank
,
0xaa
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock1
)
)
;
cfi.c:886
cfi_spansion_unlock_seq()
retval
=
cfi_send_command
(
bank
,
0x55
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock2
)
)
;
cfi.c:905
cfi_spansion_erase()
retval
=
cfi_send_command
(
bank
,
0x80
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock1
)
)
;
cfi.c:913
cfi_spansion_erase()
retval
=
cfi_send_command
(
bank
,
0x30
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:918
cfi_spansion_erase()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:928
cfi_spansion_erase()
return
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:980
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x60
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:984
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x01
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:989
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0xd0
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:1006
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x90
,
cfi_flash_address
(
bank
,
0
,
0x55
)
)
;
cfi.c:1017
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x70
,
cfi_flash_address
(
bank
,
0
,
0x55
)
)
;
cfi.c:1054
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x60
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:1058
cfi_intel_protect()
retval
=
cfi_send_command
(
bank
,
0x01
,
cfi_flash_address
(
bank
,
i
,
0x0
)
)
;
cfi.c:1070
cfi_intel_protect()
return
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:1962
cfi_intel_write_word()
retval
=
cfi_send_command
(
bank
,
0x40
,
address
)
;
cfi.c:1975
cfi_intel_write_word()
retval
=
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2021
cfi_intel_write_words()
retval
=
cfi_send_command
(
bank
,
0xe8
,
address
)
;
cfi.c:2029
cfi_intel_write_words()
retval
=
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2042
cfi_intel_write_words()
retval
=
cfi_send_command
(
bank
,
bufferwsize
-
1
,
address
)
;
cfi.c:2051
cfi_intel_write_words()
retval
=
cfi_send_command
(
bank
,
0xd0
,
address
)
;
cfi.c:2060
cfi_intel_write_words()
retval
=
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2082
cfi_spansion_write_word()
retval
=
cfi_send_command
(
bank
,
0xa0
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock1
)
)
;
cfi.c:2091
cfi_spansion_write_word()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2138
cfi_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
0x25
,
address
)
;
cfi.c:2143
cfi_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
bufferwsize
-
1
,
address
)
;
cfi.c:2152
cfi_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
0x29
,
address
)
;
cfi.c:2157
cfi_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2504
cfi_query_string()
retval
=
cfi_send_command
(
bank
,
0x98
,
cfi_flash_address
(
bank
,
0
,
address
)
)
;
cfi.c:2566
cfi_probe()
retval
=
cfi_send_command
(
bank
,
0xaa
,
cfi_flash_address
(
bank
,
0
,
unlock1
)
)
;
cfi.c:2569
cfi_probe()
retval
=
cfi_send_command
(
bank
,
0x55
,
cfi_flash_address
(
bank
,
0
,
unlock2
)
)
;
cfi.c:2572
cfi_probe()
retval
=
cfi_send_command
(
bank
,
0x90
,
cfi_flash_address
(
bank
,
0
,
unlock1
)
)
;
cfi.c:2882
cfi_intel_protect_check()
retval
=
cfi_send_command
(
bank
,
0x90
,
cfi_flash_address
(
bank
,
0
,
0x55
)
)
;
cfi.c:2898
cfi_intel_protect_check()
return
cfi_send_command
(
bank
,
0xff
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
cfi.c:2911
cfi_spansion_protect_check()
retval
=
cfi_send_command
(
bank
,
0x90
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock1
)
)
;
cfi.c:2927
cfi_spansion_protect_check()
return
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
renesas_rpchf.c:465
rpchf_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
0xa0
,
cfi_flash_address
(
bank
,
0
,
pri_ext
->
_unlock1
)
)
;
renesas_rpchf.c:474
rpchf_spansion_write_words()
retval
=
cfi_send_command
(
bank
,
0xf0
,
cfi_flash_address
(
bank
,
0
,
0x0
)
)
;
Call Tree
Functions calling
cfi_send_command()
Functions called by
cfi_send_command()
cfi_reset()
cfi_intel_clear_status_register()
cfi_read_spansion_pri_ext()
cfi_read_atmel_pri_ext()
cfi_intel_erase()
cfi_spansion_unlock_seq()
cfi_spansion_erase()
cfi_intel_protect()
cfi_intel_write_word()
cfi_intel_write_words()
cfi_spansion_write_word()
cfi_spansion_write_words()
cfi_query_string()
cfi_probe()
cfi_intel_protect_check()
cfi_spansion_protect_check()
rpchf_spansion_write_words()
all items filtered out
cfi_send_command()
cfi_target_write_memory()
cfi_command()
all items filtered out
Data read by
cfi_send_command()
cfi_send_command()::bank
cfi_send_command()::cmd
cfi_send_command()::address
cfi_send_command()::command
all items filtered out
cfi_send_command()
Type of
cfi_send_command()
cfi_send_command()
uint8_t
all items filtered out