Watch mB V.5000 Beta Disappear....Yes, Disappear!

Discuss about beta versions of mikroBasic
compiler.
Post Reply
Author
Message
xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

Watch mB V.5000 Beta Disappear....Yes, Disappear!

#1 Post by xor » 20 Jul 2006 21:43

Try to compile this little bit of code and mB simply closes itself after a little hang time. I'm using XP Pro, 18F452 @ 8MHz.

Code: Select all

program TEST2_18F452

const st as string[5][20] = ("ROOFTANK HI WATER   ","ROOFTANK LO WATER   ","ROOFTANK FREEZE     ","AC-1 FREEZESTAT     ","ALARM=ON  SIGNAL=   ")
main:
LCD_INIT(PORTB)
LCD_CMD(LCD_CURSOR_OFF)

  LCD_CMD(128)
  LCD_OUT_CP(st[0])
  LCD_CMD(192)
  LCD_OUT_CP(st[1])
  LCD_CMD(148)
  LCD_OUT_CP(st[2])
  LCD_CMD(212)
  LCD_OUT_CP(st[3])
end.
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Watch mB V.5000 Beta Disappear....Yes, Disappear!

#2 Post by zristic » 20 Jul 2006 22:17

Maybe there was too much water in the tank? :lol:

We will fix it. Thanks.

xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

#3 Post by xor » 20 Jul 2006 22:52

At near 100 degree F the other day I was ready to jump in. Can't say how the water would taste downstairs. :shock:
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

Charlie
Posts: 2744
Joined: 01 Dec 2004 22:29

#4 Post by Charlie » 21 Jul 2006 12:32

Hi xor,

I tried your code with a 16f877a compiles fine.With a 18f452 it hangs then closes.
Last edited by Charlie on 21 Jul 2006 13:14, edited 1 time in total.
Regards Charlie M.

xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

#5 Post by xor » 21 Jul 2006 12:36

Maybe the 18F452 is like broccoli. The 16F877A is more like candy. :D
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

#6 Post by xor » 21 Jul 2006 15:29

Okay.....I can now make V.4.0.0.3 and V.2.2 shut down also. I will be sending a zip file to demonstrate. I created 10 modules and a main program. I split my LCD_440 subroutines into the various modules. First, there is trouble compiling because it says a module already exists. So you clear all the *.mcl's and recompile....except you have to close mB or it remembers the old *.mcl's.

The next round I thought I would give mB a real spin by placing the same 10 module INCLUDES in every module.....guess what....crash and burn!

Posted the zip file download in this post: http://www.mikroe.com/forum/viewtopic.php?p=32469#32469
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#7 Post by zristic » 04 Sep 2006 12:47

Fixed both, the tank and the recursion. Thanks xor.

Post Reply

Return to “mikroBasic Beta testing”