Hallo, Java-Programmierer!
Ich habe ein Programm geschrieben, welches 3 ComboBoxen verwendet. Da ich aber im dritten Auswahlmenü eine Mehrfachauswahl machen muss, ist wohl jeder damit einverstanden, dass ich zb eine JList brauche statt einer Combobox.
Da ich aber 1. ein Java-Anfänger bin und 2. mich mit JLists genau gar nicht auskenne
weiß ich nicht wie ich meinen Code den ich bis jetzt geschrieben habe so umwandeln soll, dass ich statt der Box eine JList habe....-> Jede Hilfe wäre toll.
Jetzt dazu was mein Programm überhaupt macht.
Der User soll spezielle Datein einlesen können. sobald diese geöffnet worden sind, werden die Comboboxen mit einem Datum und mit Namen gefüllt, die der User dann auswählen kann. Wenn man auf "Analyse" geht, sollte das ganze dann nach Datum und Name herrausfiltern, je nachdem was man bei den Comboboxen ausgewählt hat. Und dann gibt er es im TextArea aus.
Da das ein spezielles file sein muss, habe ich euch einen kleinen Teil in den Post hineinkopiert.
Lasst mein Programm rennen und öffnet das File einfach und analysiert es.
Ich bin wirklich, wirklich für jede Hilfe dankbar! Ich hoffe ihr könnt mir helfen!
lg,
Kenbu
und hier ist der Code von einem .pcp file, welches ich einlesen möchte. Kopiert den unteren Code bitte in ein notepad-file und speichert es unter zb. : "name.pcp" ab. Das wird dann ja später nochmal von meinem prog geöfffnet.
Ich habe ein Programm geschrieben, welches 3 ComboBoxen verwendet. Da ich aber im dritten Auswahlmenü eine Mehrfachauswahl machen muss, ist wohl jeder damit einverstanden, dass ich zb eine JList brauche statt einer Combobox.
Da ich aber 1. ein Java-Anfänger bin und 2. mich mit JLists genau gar nicht auskenne
weiß ich nicht wie ich meinen Code den ich bis jetzt geschrieben habe so umwandeln soll, dass ich statt der Box eine JList habe....-> Jede Hilfe wäre toll.
Jetzt dazu was mein Programm überhaupt macht.
Der User soll spezielle Datein einlesen können. sobald diese geöffnet worden sind, werden die Comboboxen mit einem Datum und mit Namen gefüllt, die der User dann auswählen kann. Wenn man auf "Analyse" geht, sollte das ganze dann nach Datum und Name herrausfiltern, je nachdem was man bei den Comboboxen ausgewählt hat. Und dann gibt er es im TextArea aus.
Da das ein spezielles file sein muss, habe ich euch einen kleinen Teil in den Post hineinkopiert.
Lasst mein Programm rennen und öffnet das File einfach und analysiert es.
Ich bin wirklich, wirklich für jede Hilfe dankbar! Ich hoffe ihr könnt mir helfen!
lg,
Kenbu
Code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.Border;
import java.io.*;
import java.util.*;
/**
* @author
*
*/
public class FileChoosingDemo extends JFrame implements ActionListener {
JTextArea ta = new JTextArea (5,5);
JButton open_button = new JButton ("Open",
createImageIcon("img/ordner.png"));
JButton save_button = new JButton ("Save As",
createImageIcon("img/save.png"));
JButton exit = new JButton ("Exit",
createImageIcon("img/cancel.png"));
JButton analyse = new JButton ("Analyse");
JPanel p1 = new JPanel(new GridLayout(1,7));
JPanel bp = new JPanel (new GridLayout(1,5));
JLabel lb_date = new JLabel ("Datum - " , JLabel.CENTER);
JLabel lb_prozname = new JLabel ("Processname:", JLabel.CENTER);
JLabel lb_von = new JLabel ("from:", JLabel.CENTER);
JLabel lb_bis = new JLabel ("until:", JLabel.CENTER);
JLabel blank = new JLabel ("");
JComboBox cb1 = new JComboBox();
JComboBox cb2 = new JComboBox();
JComboBox cb3 = new JComboBox();
JScrollPane sp = new JScrollPane(ta);
JFileChooser fc = new JFileChooser();
JLabel lb = new JLabel ("<html>© Kenbu</html>");
ArrayList<String> datum=new ArrayList<String>();
ArrayList<String> prozess=new ArrayList<String>(); //
String path="";
String newFileName="";
String text="";
public FileChoosingDemo (String title) {
super(title);
cb1.setEditable(true); //if false one cannot change the entry.
cb2.setEditable(true);
cb3.setEditable(false);
ta.append(" A Text " +
"------------------------------- \n" +
" Please note, that your Java Version must be above 5.0 to run this. \n " +
"------------------------------- \n" +
"------------------------------- \n");
setDefaultCloseOperation(EXIT_ON_CLOSE); // SecurityException may be thrown
setLayout(new BorderLayout());
setSize(750,500); // size of the Frame
setResizable(true); // with that one cannot resize the Frame
ta.setEditable(true); // with that one cannot write anything into
// the TextArea
//mounting of Panels, Buttons, etc.
p1.add(lb_date);
p1.add(lb_von);
p1.add(cb1);
p1.add(lb_bis);
p1.add(cb2);
p1.add(lb_prozname);
p1.add(cb3);
bp.add(lb);
bp.add(analyse);
analyse.addActionListener(this);
bp.add(open_button);
open_button.addActionListener(this);
bp.add(save_button);
save_button.addActionListener(this);
bp.add(exit);
exit.addActionListener(this);
add(p1, BorderLayout.NORTH);
add(sp, BorderLayout.CENTER);
add(bp, BorderLayout.SOUTH );
setVisible(true); //makes the Frame visible if true
}
/** returns ImageIgon or 'null' if the path of the image was not found. */
protected static ImageIcon createImageIcon(String path) {
java.net.URL imgURL = FileChoosingDemo.class.getResource(path);
if (imgURL != null) {
return new ImageIcon(imgURL);
} else {
System.err.println("Couldn't find file: " + path);
return null;
}
}
/*
* This function can tell the difference between FileTypes.
*
* If the String 'M-ACTION' is found it is declared to be either
* a .wri or a .txt File
*
* If the String 'PTQ Tracer Result File' is found it is declared
* to be a .pcp File.
*
* foundOut is the variable which tells wether the program has
* "found out" what file-type it is.
*
* if foundOut=0 it means it could not be found out
*
* if foundOut=2 it means the file-type is pcp.
*
* if foundOut=1 it means the file-type is either txt or wri.
*
* the switch-function tells the program what to do about the found
* out result.
*/
void findDataType(String pfad) {
BufferedReader in = null;
try {
in = new BufferedReader(new FileReader(pfad));
String line;
int foundOut=0;
while ((line = in.readLine()) != null) {
if(line.indexOf("PTQ Tracer Result File")!=-1){
foundOut=1;
break;
}
}
switch(foundOut){
case 1: pcp(pfad); break;
default: ta.append("Wrong File-Type!" + "\n"); break;
}
} catch (Exception e1) {
e1.printStackTrace();
} finally {
if (in != null)
try {
in.close();
in = null;
} catch (Exception e1) {}
}
}
/*
* The first section looks for a date in the file. In other words
* the function looks for a dot '.' in the data file and checks
* if there are any dots after a certain amount of characters
* starting from the first found dot. This shows if there are any
* dates at all.
*
* The first for loop checks how many dates there are and fills
* them into the two drop-down lists.
* Same goes for the second for loop which actually does exactly
* the same apart from filling the last drop-down list with
* processnames.
*/
void dropdown(String pfad){
BufferedReader in = null;
try {
in = new BufferedReader(new FileReader(pfad));
String line;
while ((line = in.readLine()) != null) {
if(line.indexOf(".")!=-1){
int i=line.indexOf(".");
char c=' ';
try { c=line.charAt(i+3); }
catch(Exception e){}
if((c=='.')&&(line.charAt(i-3)==' ')){
addArrayDate(line.substring(i-2,i+8));
if(line.charAt(0)=='"'){
addArrayProz(line.substring(1,i-3));
}
else {
int d=line.lastIndexOf('"',i);
addArrayProz(line.substring(d+1,i-3));
}
}
}
}
for(int i=0;i<datum.size();i++){
cb1.addItem(datum.get(i));
cb2.addItem(datum.get(i));
}
for(int i=0;i<prozess.size();i++){
cb3.addItem(prozess.get(i));
}
cb1.setSelectedIndex(0);
cb2.setSelectedIndex(0);
cb3.setSelectedIndex(0); //
} catch (Exception e) {
e.printStackTrace();
} finally {
if (in != null)
try {
in.close();
in = null;
} catch (Exception e) {}
}
}
/*
*
*/
void addArrayDate(String date){
boolean available=false;
for(int i=0;i<datum.size();i++){
if(datum.get(i).equals(date)){
available=true;
}
}
if(!available)
datum.add(date);
}
void addArrayProz(String proz){
boolean available=false;
for(int i=0;i<prozess.size();i++){
if(prozess.get(i).equals(proz)){
available=true;
}
}
if(!available)
prozess.add(proz);
}
void pcp(String pfad) {
BufferedReader in = null;
try {
in = new BufferedReader(
new InputStreamReader(new FileInputStream(pfad), "UTF-8"));
String line;
boolean addLine=false;
while ((line = in.readLine()) != null) {
int i=line.indexOf(".");
char c=' ';
try { c=line.charAt(i+3); }
catch(Exception e){}
if((c=='.')&&(line.charAt(i-3)==' ')){
addLine=false;
String von=(String)cb1.getSelectedItem();
String bis=(String)cb2.getSelectedItem();
String name=(String)cb3.getSelectedItem();
String date=line.substring(i-2,i+8); //wichtig
String proz=""; //
/*
* this if-else is looking for processes
*/
if(line.charAt(0)=='"'){
proz=line.substring(1,i-3);
}
else {
int d=line.lastIndexOf('"',i);
proz=line.substring(d+1,i-3);
}
if(von.equals("All")){
if(bis.equals("All")){
if(name.equals("All")){
text=text+line+"\n";
addLine=true;
}
else if(name.equals(proz)){
text=text+line+"\n";
addLine=true;
}
}
// this checks the selected date in the "until" dropown
else if((Integer.parseInt(date.substring(6))<=Integer.parseInt(bis.substring(6)))&&
((Integer.parseInt(date.substring(3,5))<=Integer.parseInt(bis.substring(3,5))))&&
((Integer.parseInt(date.substring(0,2))<=Integer.parseInt(bis.substring(0,2))))){
if(name.equals("All")){
text=text+line+"\n";
addLine=true;
}
else if(name.equals(proz)){
text=text+line+"\n";
addLine=true;
}
}
}
// this checks the selected date in the "from" dropown
else if((Integer.parseInt(date.substring(6))>=Integer.parseInt(von.substring(6)))&&
((Integer.parseInt(date.substring(3,5))>=Integer.parseInt(von.substring(3,5))))&&
((Integer.parseInt(date.substring(0,2))>=Integer.parseInt(von.substring(0,2))))){
if(bis.equals("All")){
if(name.equals("All")){
text=text+line+"\n";
addLine=true;
}
else if(name.equals(proz)){
text=text+line+"\n";
addLine=true;
}
}
else if((Integer.parseInt(date.substring(6))<=Integer.parseInt(bis.substring(6)))&&
((Integer.parseInt(date.substring(3,5))<=Integer.parseInt(bis.substring(3,5))))&&
((Integer.parseInt(date.substring(0,2))<=Integer.parseInt(bis.substring(0,2))))){
if(name.equals("All")){
text=text+line+"\n";
addLine=true;
}
else if(name.equals(proz)){
text=text+line+"\n";
addLine=true;
}
}
}
}
else if(addLine){
text=text+line+"\n";
}
}
ta.append(text);
} catch (Exception e1) {
e1.printStackTrace();
} finally {
if (in != null)
try {
in.close();
in = null;
} catch (Exception e1) {}
}
}
public void actionPerformed(ActionEvent e) {
File file=new File(path);
if(e.getSource() == analyse){
try {
ta.setText(" A Text " +
"------------------------------- \n" +
" Please note, that your Java Version must be above 5.0 to run this. \n " +
"------------------------------- \n" +
"------------------------------- \n");
ta.append("Opening: " + file.getName() + "." + "\n");
findDataType(file.getAbsolutePath());
}
catch(Exception e1){}
}
if (e.getSource() == open_button) {
for(int i=0;i<datum.size();i++)
datum=new ArrayList<String>();
for(int i=0;i<prozess.size();i++)
prozess=new ArrayList<String>();
cb1.removeAllItems();
cb2.removeAllItems();
cb3.removeAllItems();
datum.add("All");
prozess.add("All");
ta.setText(" A Text " +
"------------------------------- \n" +
" Please note, that your Java Version must be above 5.0 to run this. \n " +
"------------------------------- \n" +
"------------------------------- \n");
int returnVal = fc.showOpenDialog(FileChoosingDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
file = fc.getSelectedFile();
//This is where a real application would open the file.
path=file.getAbsolutePath();
ta.append("Opening: " + file.getName() + "." + "\n");
dropdown(file.getAbsolutePath());
} else {
ta.append("Open command cancelled by user." + "\n");
}
ta.setCaretPosition(ta.getDocument().getLength());
}
if (e.getSource() == save_button) {
int returnVal = fc.showSaveDialog(FileChoosingDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
file = fc.getSelectedFile();
path=file.getAbsolutePath();
//This is where a real application would open the file.
file.getAbsolutePath();
ta.append("Saving: " + file.getName() + "." + "\n");
saving(file.getAbsolutePath());
} else {
ta.append("Save command cancelled by user." + "\n");
}
ta.setCaretPosition(ta.getDocument().getLength());
}
if (e.getSource() == exit) { // exits the program if clicked.
this.dispose();
}
}
void saving (String pfad) {
BufferedWriter output = null;
try {
File file = new File(newFileName);
output = new BufferedWriter(new FileWriter(pfad));
output.write(text);
output.close();
} catch (Exception e){ }
// System.out.println("Your file has been written");
}
public static void main(String[] args) {
new FileChoosingDemo("Choose a File");
}
}
und hier ist der Code von einem .pcp file, welches ich einlesen möchte. Kopiert den unteren Code bitte in ein notepad-file und speichert es unter zb. : "name.pcp" ab. Das wird dann ja später nochmal von meinem prog geöfffnet.
Code:
/*******************************************************************************
/* PTQ Tracer Result File
/* APS : stm1 5665
/* APS Date : BUILT 07/03/06, 22:10:14
/* SITEID : 1029
/* MPTIME : NA
/* PCPTIME : 22 Mar 2007 17:27:29:794
/*******************************************************************************
BSW 01.01.1970 - 00:18:42,354 (Idx: 4 )
BSW 01.01.1970 - 00:18:42,354* (Idx: 4 )
BSW started at(hh:mm:ss,mse): 09:27:11,64288
BSW 01.01.1970 - 00:18:43,837* (Idx: 6 )
Reset data found:
reset_type = STAGE_1_COLD
reset_reason = NO_FAULT
reset_restart_id = UCSW_BOOT3
restart_num = 2
BSWTRSQ 01.01.1970 - 00:18:43,955* (Idx: 11 )
START -> (error=0)
BSWTRSQ 01.01.1970 - 00:18:43,955* (Idx: 12 )
Event received (ID:255, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:43,956* (Idx: 13 )
IPC received (Source:0x13, Dest:0x13, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:43,956* (Idx: 14 )
START <- (Restart SW ID=2)
ITR 01.01.1970 - 00:18:43,982* (Idx: 20 )
SR +++++++++++++++++++++++++++++++++++++++++
SR # ITP_INIT_ != 0 #
SR # keep BIB data (already stored) #
SR # BIB.bib_itp.sit_tab[0].new_bib != 0 #
SR # current BIB version is 1 #
SR +++++++++++++++++++++++++++++++++++++++++
LDC00 01.01.1970 - 00:18:44,178* (Idx: 27 )
001844*LDC00 CLKE init2: Moduleclock supervision started
ITR 01.01.1970 - 00:18:45,160* (Idx: 32 )
L4 channel ACTIVE 3 to SIDEID: 2
ITR 01.01.1970 - 00:18:45,173* (Idx: 33 )
L4 channel ACTIVE 5 to SIDEID: 2
ITR 01.01.1970 - 00:18:45,173* (Idx: 34 )
4S BACKWARD channel FAILED 5
ITR 01.01.1970 - 00:18:45,175* (Idx: 35 )
4S send SESS trouble to 5
ITR 01.01.1970 - 00:18:45,179* (Idx: 36 )
L4 channel ACTIVE 7 to SIDEID: e
ITR 01.01.1970 - 00:18:45,212* (Idx: 37 )
L4 channel ACTIVE 5 to SIDEID: 2
ITR 01.01.1970 - 00:18:45,213* (Idx: 38 )
4S BACKWARD channel FAILED 5
ITR 01.01.1970 - 00:18:45,215* (Idx: 39 )
4S send SESS trouble to 5
ITR 01.01.1970 - 00:18:45,222* (Idx: 40 )
L4 channel ACTIVE 6 to SIDEID: e
ITR 01.01.1970 - 00:18:45,587* (Idx: 41 )
L4 channel ACTIVE c to SIDEID: 2
BSWTRSQ 01.01.1970 - 00:18:49,646* (Idx: 42 )
Event received (ID:-1, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:49,646* (Idx: 43 )
MP Command received (Source:0xe, CMD:0x18, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:49,646* (Idx: 44 )
UBI_FOR_LR_REQUEST <- UBI_type: 0x8 siteID: 0x2 localID: 0x23861528
BSWTRSQ 01.01.1970 - 00:18:49,655* (Idx: 45 )
Event received (ID:-1, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:49,655* (Idx: 46 )
MP Command received (Source:0xe, CMD:0x19, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:49,656* (Idx: 47 )
SET_ACT_STB_STATE <- (Activ)
BSWTRSQ 01.01.1970 - 00:18:49,661* (Idx: 48 )
SET_ACT_STB_STATE_RESP -> (Activ)
BSWTRSQ 01.01.1970 - 00:18:50,245* (Idx: 49 )
Event received (ID:-1, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:50,245* (Idx: 50 )
MP Command received (Source:0x10, CMD:0x1, Error:Ox0)
BSWTRLD 01.01.1970 - 00:18:50,245* (Idx: 51 )
LIS_IND <- command=0xd, mlm_substate=0, StoreFlag=1
BSWTRLD 01.01.1970 - 00:18:50,256* (Idx: 52 )
Code loading of ONLINE-APS starts now
BSWTRLD 01.01.1970 - 00:18:50,256* (Idx: 53 )
LIS_IND <- (Cmd: 0x0000000d Length 0x005b7ae0)
BSWTRPR 01.01.1970 - 00:18:50,311* (Idx: 54 )
LIS_IND <-
BSWTRPR 01.01.1970 - 00:18:50,312* (Idx: 55 )
No of segments =5
BSWTRPR 01.01.1970 - 00:18:50,313* (Idx: 56 )
era_act at 00230000, wri_act at 00230000, wri_len = 5b7b18
BSWTRSQ 01.01.1970 - 00:18:52,243* (Idx: 57 )
Event received (ID:255, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:52,243* (Idx: 58 )
IPC received (Source:0x10, Dest:0x12, Error:Ox0)
BSWTRLD 01.01.1970 - 00:18:52,245* (Idx: 59 )
MSGCPL_IND <- command=0xd, Loadseg=4
BSWTRLD 01.01.1970 - 00:18:52,246* (Idx: 60 )
PDATA ->
BSWTRPR 01.01.1970 - 00:18:52,246* (Idx: 61 )
PDATA <-
BSWTRPR 01.01.1970 - 00:18:52,289* (Idx: 62 )
PBUFAVL -> MLMC
BSWTRLD 01.01.1970 - 00:18:52,290* (Idx: 63 )
PBUFAVL <- command=0xd, Loadseg=4
BSWTRLD 01.01.1970 - 00:18:52,294* (Idx: 64 )
MSGCPL_RES ->
BSWTRSQ 01.01.1970 - 00:18:52,315* (Idx: 65 )
Event received (ID:-1, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:52,315* (Idx: 66 )
MP Command received (Source:0x10, CMD:0x1, Error:Ox0)
BSWTRLD 01.01.1970 - 00:18:52,315* (Idx: 67 )
LIS_IND <- command=0xe, mlm_substate=2, StoreFlag=1
BSWTRLD 01.01.1970 - 00:18:52,317* (Idx: 68 )
LIS_IND <- (Cmd: 0x0000000e Length 0x005b7ae0)
BSWTRPR 01.01.1970 - 00:18:52,426* (Idx: 69 )
erase_required at 0x00230000
BSWTRPR 01.01.1970 - 00:18:52,427* (Idx: 70 )
erase block at 0x00230000
BSWTRPR 01.01.1970 - 00:18:52,427* (Idx: 71 )
era_act at 00230000, wri_act at 00230000, wri_len = 5b7b18
BSWTRPR 01.01.1970 - 00:18:52,739* (Idx: 72 )
CCOM_FPRY_SIG:flash_int_disabled =1
BSWTRPR 01.01.1970 - 00:18:52,740* (Idx: 73 )
block erased at 00230000
BSWTRPR 01.01.1970 - 00:18:53,675* (Idx: 74 )
buffer written at 0x00230000
BSWTRPR 01.01.1970 - 00:18:53,739* (Idx: 75 )
erase_required at 0x00240000
BSWTRPR 01.01.1970 - 00:18:53,739* (Idx: 76 )
erase block at 0x00240000
BSWTRPR 01.01.1970 - 00:18:53,740* (Idx: 77 )
era_act at 00240000, wri_act at 00240000, wri_len = 5a7b18
BSWTRPR 01.01.1970 - 00:18:54,052* (Idx: 78 )
CCOM_FPRY_SIG:flash_int_disabled =1
BSWTRPR 01.01.1970 - 00:18:54,053* (Idx: 79 )
block erased at 00240000
BSWTRSQ 01.01.1970 - 00:18:54,296* (Idx: 80 )
Event received (ID:255, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:54,297* (Idx: 81 )
IPC received (Source:0x10, Dest:0x12, Error:Ox0)
BSWTRLD 01.01.1970 - 00:18:54,298* (Idx: 82 )
MSGCPL_IND <- command=0xe, Loadseg=4
BSWTRLD 01.01.1970 - 00:18:54,301* (Idx: 83 )
PDATA ->
BSWTRPR 01.01.1970 - 00:18:54,892* (Idx: 84 )
buffer written at 0x00240000
BSWTRPR 01.01.1970 - 00:18:54,945* (Idx: 85 )
erase_required at 0x00250000
BSWTRPR 01.01.1970 - 00:18:54,945* (Idx: 86 )
erase block at 0x00250000
BSWTRPR 01.01.1970 - 00:18:54,945* (Idx: 87 )
era_act at 00250000, wri_act at 00250000, wri_len = 597b18
BSWTRPR 01.01.1970 - 00:18:54,947* (Idx: 88 )
PDATA <-
BSWTRPR 01.01.1970 - 00:18:54,990* (Idx: 89 )
FlashTask->Erasing:delay writing
BSWTRPR 01.01.1970 - 00:18:55,266* (Idx: 90 )
CCOM_FPRY_SIG:flash_int_disabled =1
BSWTRPR 01.01.1970 - 00:18:55,266* (Idx: 91 )
block erased at 00250000
BSWTRPR 01.01.1970 - 00:18:56,042* (Idx: 92 )
buffer written at 0x00250000
BSWTRPR 01.01.1970 - 00:18:56,095* (Idx: 93 )
erase_required at 0x00260000
BSWTRPR 01.01.1970 - 00:18:56,096* (Idx: 94 )
erase block at 0x00260000
BSWTRPR 01.01.1970 - 00:18:56,096* (Idx: 95 )
era_act at 00260000, wri_act at 00260000, wri_len = 587b18
BSWTRPR 01.01.1970 - 00:18:56,416* (Idx: 96 )
CCOM_FPRY_SIG:flash_int_disabled =1
BSWTRPR 01.01.1970 - 00:18:56,417* (Idx: 97 )
block erased at 00260000
BSWTRPR 01.01.1970 - 00:18:57,192* (Idx: 98 )
buffer written at 0x00260000
BSWTRPR 01.01.1970 - 00:18:57,193* (Idx: 99 )
PBUFAVL -> MLMC
BSWTRLD 01.01.1970 - 00:18:57,194* (Idx: 100 )
PBUFAVL <- command=0xe, Loadseg=4
BSWTRLD 01.01.1970 - 00:18:57,198* (Idx: 101 )
MSGCPL_RES ->
BSWTRSQ 01.01.1970 - 00:18:57,219* (Idx: 102 )
Event received (ID:-1, Error:Ox0)
BSWTRSQ 01.01.1970 - 00:18:57,221* (Idx: 103 )
MP Command received (Source:0x10, CMD:0x1, Error:Ox0)
BSWTRLD 01.01.1970 - 00:18:57,222* (Idx: 104 )
LIS_IND <- command=0xe, mlm_substate=2, StoreFlag=1
BSWTRLD 01.01.1970 - 00:18:57,223* (Idx: 105 )
LIS_IND <- (Cmd: 0x0000000e Length 0x005b7ae0)
BSWTRPR 01.01.1970 - 00:18:57,332* (Idx: 106 )
erase_required at 0x00270000
BSWTRPR 01.01.1970 - 00:18:57,332* (Idx: 107 )
erase block at 0x00270000