MCUdude
bb4078e554
add pgm->get_varef support to stk600
2023-12-04 23:00:24 +01:00
MCUdude
f90a7cf909
Fix broken stk600 oscillator value in stk500v2_fosc_value
...
and add pgm->get_fosc to stk600
2023-12-04 22:12:22 +01:00
MCUdude
cf615f2209
add pgm->get_sck_speed support for STK600
2023-12-04 21:54:51 +01:00
MCUdude
88ec512b68
add pgm->get_vtarget support for STK600
2023-12-04 21:51:16 +01:00
MCUdude
c067a5a778
Add JTAG3 ISP clock and vtarg read
2023-12-04 21:32:49 +01:00
MCUdude
341e1354e9
Remove function name in error messages
2023-12-04 21:26:13 +01:00
MCUdude
9524908a34
Add support for specifying bit clock in frequency as well
2023-12-02 23:31:01 +01:00
MCUdude
55c566d07c
Add jtag3_get_vtarget
2023-12-02 22:53:48 +01:00
MCUdude
27e5e61c46
Add jtag3_get_sck_period
2023-12-02 22:39:49 +01:00
MCUdude
c118c3ae3c
fix segfault when using the terminal sck command
2023-12-02 21:49:28 +01:00
stefanrueger
5501c63a63
Update NEWS
2023-12-01 15:47:42 +13:00
stefanrueger
2297a310f8
Fix spacing in programmer display function
2023-12-01 15:46:02 +13:00
Hans
54c33cefaa
Add more PL2303 compatible USB PIDs ( #1583 )
...
* Add more pl2303 compatible USB PIDs
* Use formatting from -c*
* Fix typo
2023-12-01 15:40:02 +13:00
Stefan Rueger
2684de587b
Merge pull request #1581 from stefanrueger/is_dryrun
...
Ignore port settings when using -c dryrun
2023-12-01 15:39:43 +13:00
Stefan Rueger
dc4ce4766e
Merge pull request #1580 from stefanrueger/regfile
...
Provide terminal `regfile` command
2023-12-01 15:39:28 +13:00
Stefan Rueger
633669b1cc
Merge pull request #1574 from Ho-Ro/get_4_1570
...
new functions (#1570 ): get_vtarget, get_varef, get_fosc, get_sck_period
2023-12-01 15:39:06 +13:00
Martin
af226823df
parms spacing correction (jtagmkI); parms sequence correction (stk500v2)
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-30 17:34:19 +01:00
Martin
aaa26d9169
Last (?) tidying according review from MCUdude and stefanrueger
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-29 22:17:22 +01:00
stefanrueger
43f36484e1
Downgrade message reporting change of Vtarg
2023-11-29 23:18:22 +13:00
stefanrueger
de3a15d664
Document regfile terminal command
2023-11-28 00:57:03 +13:00
stefanrueger
c1d85f15f4
Ignore port settings when using -c dryrun
2023-11-27 11:16:52 +13:00
Martin
b438ba5233
update stk500v1 sck display
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
2ec638f94b
variable xtal setting; formatting
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
64c82fdb35
fosc / sck test for most stk500v2 based programmer (except mk3?)
...
difficult to test w/o programmer HW (only orig STK500 (v2) and SMo)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
# Conflicts:
# src/stk500v2.c
2023-11-26 19:39:23 +01:00
Martin
42a7f671bb
fosc / sck test for most stk500v2 based programmer (except mk3?)
...
difficult to test w/o programmer HW (only orig STK500 (v2) and SMo)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
d3a142961c
fix sck typo wrong parameter
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
c5e117dacb
get_sck_period() and get_vtarget() for JTAG1
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
29a315c36d
fix memory access error, provide 4 get_ functions for stk50v2
...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
Martin
4444ca8b9c
new functions ( #1570 ): get_vtarget, get_varef, get_fosc, get_sck_period
...
this is only a proof of concept
declarations for libavrdude, parser in term.c
sample implementations in stk500v1.c
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-26 19:39:23 +01:00
stefanrueger
7c180e4559
Provide terminal regfile command
2023-11-27 00:12:55 +13:00
stefanrueger
56a192bb82
Initialise dryrun io memory from register file
2023-11-27 00:12:23 +13:00
stefanrueger
7b64287fba
Provide str_matched_by(), str_casematched_by(), str_is_pattern()
2023-11-27 00:11:01 +13:00
stefanrueger
c37933720f
Provide avr_locate_isrtable(), avr_locate_register_file(), avr_locate_register(), avr_locate_registerlist()
2023-11-27 00:07:59 +13:00
stefanrueger
5830fbfdc3
Update avrintel.[ch] with register files
2023-11-27 00:04:00 +13:00
stefanrueger
9464b0c35a
Update NEWS
2023-11-26 23:00:26 +13:00
Stefan Rueger
e0aee95805
Merge pull request #1577 from stefanrueger/config_value
...
Provide and use libavrude functions to access part config values
2023-11-26 22:57:08 +13:00
stefanrueger
f4de378751
Provide avr_locate_upidx(), avr_locate_configitems(), avr_locate_configlist()
2023-11-26 19:09:42 +13:00
stefanrueger
65901cf570
Fix access of internal uP_table given the part
2023-11-24 15:49:12 +13:00
stefanrueger
879ea06545
Use avr_get_config_value() to determine OCDEN fuse setting
2023-11-23 17:44:54 +13:00
stefanrueger
fd1c49e538
Provide avr_get_config_value() and avr_set_config_value() functions
...
Example usage:
int ocden = 0;
if(avr_get_config_value(pgm, p, "ocden", &ocden) == 0 && ocden) // ocden == 1 means disabled
pmsg_warning("OCDEN fuse not programmed, single-byte EEPROM updates not possible\n");
2023-11-23 17:42:07 +13:00
stefanrueger
606658a12d
Update NEWS
2023-11-22 23:50:16 +13:00
Stefan Rueger
bf1aa2bcb8
Merge pull request #1576 from mcuee/mingw_readline_test
...
Add GNU readline to mingw github action
2023-11-22 23:41:34 +13:00
Stefan Rueger
6df3f9894b
Merge pull request #1571 from stefanrueger/sram
...
Add memory sram and remove memory data
2023-11-22 23:37:47 +13:00
Stefan Rueger
c394fcf23e
Merge pull request #1569 from mcuee/cmake_update
...
Update src/CMakeLists.txt
2023-11-22 23:36:49 +13:00
Hans
664d36df07
Update part cmd ( #1568 )
...
Co-authored-by: stefanrueger <stefan.rueger@urclocks.com >
2023-11-22 23:35:47 +13:00
Martin
92c576d942
Support for STK500 v1 and v2 devices with STK500_XTAL != 7372800 ( #1566 )
...
* fix -x vtarg handling (HAS_VTARG_READ vs. HAS_VTARG_ADJ)
* stk500v1: implement new option -x xtal=nnn (part of #1560 )
* fix parsing of frequencies, values w/o k or M prefix were not recognised
now frequency parameter fosc=nnnn or fosc=nnnnH[z] are also ok
* stk500v2: xtra argument -x xtal=nnnn
* unify xtra argument messages for v1 and v2, better error message wording
* update man and doc
* stk500v1: add option -B handling identical to stk500v2
* allow spaces in extra parameter, e.g. -x "fosc= .1e3 kHz"
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com >
2023-11-22 22:23:45 +13:00
mcuee
c4b5097b1f
Use -static linking option for MinGW
...
This will prevent the dependency to libwinpthread-1.dll.
2023-11-20 15:39:36 +08:00
mcuee
390e3bacd8
Add GNU readline to mingw github action
...
Same as https://github.com/avrdudes/avrdude/pull/1513 .
2023-11-20 15:23:02 +08:00
stefanrueger
a3a1871d9b
Sort all memories of all parts in canonical order
2023-11-17 14:28:51 +13:00
stefanrueger
1b9d087004
Handle SRAM r/w
2023-11-16 11:27:22 +13:00