2003-06-03 Marcel Telka <marcel@telka.sk>

* src/cmd/cable.c (cmd_cable_run): Added bus deallocation.
	* src/cmd/detectflash.c (cmd_detectflash_run): Removed cable connection test.
	* src/cmd/flashmem.c (cmd_flashmem_run): Ditto.
	* src/cmd/peekpoke.c (cmd_peek_run, cmd_poke_run): Ditto.
	* src/cmd/readmem.c (cmd_readmem_run): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@458 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent 4603b8c53b
commit ec63c70dd4

@ -1,3 +1,11 @@
2003-06-03 Marcel Telka <marcel@telka.sk>
* src/cmd/cable.c (cmd_cable_run): Added bus deallocation.
* src/cmd/detectflash.c (cmd_detectflash_run): Removed cable connection test.
* src/cmd/flashmem.c (cmd_flashmem_run): Ditto.
* src/cmd/peekpoke.c (cmd_peek_run, cmd_poke_run): Ditto.
* src/cmd/readmem.c (cmd_readmem_run): Ditto.
2003-06-03 Marcel Telka <marcel@telka.sk>
* src/flash.c (flashmsbin, flashmem): Removed '\r' from translatable messages.

@ -2,6 +2,7 @@ $Id$
* Fixed bug with SELECT, AUTOFD, and STROBE signals handling (bug 745824).
* Added new commands 'peek' and 'poke' (patch 747447, Matan Ziv-Av).
* Minor bugs fixed.
jtag-0.4 (2003-05-29):

@ -32,6 +32,7 @@
#include "cable.h"
#include "chain.h"
#include "jtag.h"
#include "bus.h"
#include "cmd.h"
@ -53,6 +54,10 @@ cmd_cable_run( char *params[] )
return 1;
}
if (bus) {
bus->free( bus );
bus = NULL;
}
chain_disconnect( chain );
chain->cable = parport_drivers[i]->connect( (const char **) &params[2], cmd_params( params ) - 2 );
if (!chain->cable) {

@ -36,9 +36,6 @@ cmd_detectflash_run( char *params[] )
if (cmd_params( params ) != 1)
return -1;
if (!cmd_test_cable())
return 1;
if (!bus) {
printf( _("Error: Bus driver missing.\n") );
return 1;

@ -43,9 +43,6 @@ cmd_flashmem_run( char *params[] )
if (cmd_params( params ) != 3)
return -1;
if (!cmd_test_cable())
return 1;
if (!bus) {
printf( _("Error: Bus driver missing.\n") );
return 1;

@ -39,9 +39,6 @@ cmd_peek_run( char *params[] )
if (cmd_params( params ) != 2)
return -1;
if (!cmd_test_cable())
return 1;
if (!bus) {
printf( _("Error: Bus driver missing.\n") );
return 1;
@ -87,9 +84,6 @@ cmd_poke_run( char *params[] )
if (cmd_params( params ) != 3)
return -1;
if (!cmd_test_cable())
return 1;
if (!bus) {
printf( _("Error: Bus driver missing.\n") );
return 1;

@ -41,9 +41,6 @@ cmd_readmem_run( char *params[] )
if (cmd_params( params ) != 4)
return -1;
if (!cmd_test_cable())
return 1;
if (!bus) {
printf( _("Error: Bus driver missing.\n") );
return 1;

Loading…
Cancel
Save