Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[General] problem during simulating glcd ks0108 with arduino in proteus isis

Status
Not open for further replies.

vasu123

Newbie level 4
Joined
Jun 27, 2016
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
57
[T6963C] Data Write [Controller1] attempted during reset. write operation failed

this message is dispayed more than 9000 times during simulation.

my code is:


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
 *  openGLCD Library - Hello World
 * 
 * This sketch prints "Hello World!" to the LCD
 * and shows the time in seconds since Arduino board was reset.
 * 
 *  2013-06-15 bperrybap   - updates for openGLCD
 *  2011-09-14 Bill Perry  - original creation
 *      [email]bperrybap@opensource.billsworld.billandterrie.com[/email]
 */
 
// include the library header
// no font headers have to be included
#include <openGLCD.h>
 
 
 
#define GLCD_PIN_CONFIG_H
#define GLCD_PIN_CONFIG_H
 
/*
* define name for pin configuration
*/
#define glcd_PinConfigName "ks0108-Uno"
 
/*********************************************************/
/*  Configuration for assigning LCD bits to Arduino Pins */
/*********************************************************/
 
/*
* Pins can be assigned using Arduino pin numbers 0-n
* Pins can also be assigned using PIN_Pb 
*    where P is port A-L and b is bit 0-7
*    Example: port D bit 3 is PIN_D3
*
*/
 
/* Data pin definitions
*/
#define glcdPinData0        PIN_B0
#define glcdPinData1        PIN_B1
#define glcdPinData2        PIN_B2
#define glcdPinData3        PIN_B3
#define glcdPinData4        PIN_D4
#define glcdPinData5        PIN_D5
#define glcdPinData6        PIN_D6
#define glcdPinData7        PIN_D7
 
/* Arduino pins used for Control
* default assignment uses the first five analog pins
*/
 
#define glcdPinCSEL1        PIN_A0
#define glcdPinCSEL2        PIN_A1
 
 
#define glcdPinRW           PIN_A2
#define glcdPinDI           PIN_A3
#define glcdPinEN           PIN_A4 // (A4 is also I2C SDA)
 
void setup()
{
  // Initialize the GLCD 
  GLCD.Init();
 
 // Select the font for the default text area
  GLCD.SelectFont(System5x7);
 
//  GLCD.print(F("hello, world!")); // keep string in flash on AVR boards with IDE 1.x
//  GLCD.Puts(F("hello, world!")); // Puts() supports F() with any version of IDE
 
  // print() below uses RAM on AVR boards but works
  // on any version of IDE with any processor
  // note: Same is true for Puts()
  GLCD.print("hello, world!"); 
}
 
void loop()
{
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  GLCD.CursorTo(0, 1);
 
  // print the number of seconds since reset:
  GLCD.print(millis()/1000);
}




please solvethe problem
 

Attachments

  • isis problem.png
    isis problem.png
    232.9 KB · Views: 208
Last edited by a moderator:

Are you sure the RST pin of U1 is really connected anywhere ( it should be tied to the VCC ) ?

By the way, regardless GLCD.Init() is supposed to do that, why don't you add some delay - let's say 100ms - just before the loop() function ?
 

Are you sure the RST pin of U1 is really connected anywhere ( it should be tied to the VCC ) ?

By the way, regardless GLCD.Init() is supposed to do that, why don't you add some delay - let's say 100ms - just before the loop() function ?



hello sir, i checked that rst pin is not connected anywhere and i also gave a delay of 100 ms and then tried but the error is same . actually there is no error in stimulation , it is executing but glcd is unable to display anything and when i see the simulation error message log it displays as: [t6963c] data write [controller1] attempted during reset. write operation failed. please help me out.

is it a problem with lcd consisting of t6963c ic i.e. it unable to write becoz when i googled the error, it shows me that arduino has another library which runs for lcd consisting of t6963c ic and i added that library but it was unable to compile properly. please suggest me further. i need to complete as soon as possible.
 

simulation log is as followsUntitled.png
 

Few days back, I imported my Graphic LCD project in Proteus 8.4 sp0 and its giving the same error, logic contention and doesn’t work for me. I am worried that why it is not working as the last time it was working. Then I installed old version of Proteus 7.11 and open the same project in that, and it started working again. So i think there is still some issues with 8.x series of proteus. So please try it on hardware or on older version of proteus.
 

sir i am using older version of proteus and newer version of arduino 1.6.8 it is not working. theri is no error instead . please suggest me further
 

Use https://circuits.io/ for Arduino.
I fell your computer is not able to simulate high end controller.
proteus is good for low end PIC microcontroller.
It will be always better to simulate arduino in server that run runs delicately for arduino and is much more higher config than your computer.
use https://circuits.io/ you will definitely enjoy its features
 

i tried through http//circuits.io/ but there is no graphical lcdpresent in the components.and i also burn normal lcd 16x2 on proteus and its working but graphical lcd is not working. please suggest
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top