PDA

View Full Version : menu problems



hakhawk
17-11-2003, 02:55 PM
i am trying to create menus inside the clock menu for a 3315 v5.57. i have read a few tutorials and the g3nolite thread. no luck

when i try to run the following i get processing error (unknown section) in line 3

+add_text Screensaver
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Screensaver
[0x00000000] (0x03) (0x80) (0x0000) [0x00000000]
+add_text Type
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Type
[0x00000000] (0x01) (0x80) (0x0000) [0x00000000]
+add_text Digital
[0xdeadbeef] [0x00000000] [0x000000D3] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Digital
+add_text Analog
[0xdeadbeef] [0x00000000] [0x000000D4] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Analog
+add_text Background
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Background
[0x00000000] (0x03) (0xC0) (0xFFFC) [0x00000000]
+add_text Background 1
[0xdeadbeef] [0x00000000] [0x000000CB] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Background 1
+add_text Background 2
[0xdeadbeef] [0x00000000] [0x000000CC] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Background 2
+add_text Background 3
[0xdeadbeef] [0x00000000] [0x000000CD] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Background 3
+add_text Background 4
[0xdeadbeef] [0x00000000] [0x000000CE] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Background 4
+add_text Font
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Font
[0x00000000] (0x03) (0xC0) (0xFFFC) [0x00000000]
+add_text Font 1
[0xdeadbeef] [0x00000000] [0x000000CF] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Font 1
+add_text Font 2
[0xdeadbeef] [0x00000000] [0x000000D0] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Font 2
+add_text Font 3
[0xdeadbeef] [0x00000000] [0x000000D1] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Font 3
+add_text Font 4
[0xdeadbeef] [0x00000000] [0x000000D2] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Font 4
+add_text Delay
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Delay
[0x00000000] (0x09) (0xC0) (0x0000) [0x00000000]
+add_text Off
[0xdeadbeef] [0x00000000] [0x000000C1] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Off
+add_text 10 Seconds
[0xdeadbeef] [0x00000000] [0x000000C2] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 10 Seconds
+add_text 20 Seconds
[0xdeadbeef] [0x00000000] [0x000000C3] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 20 Seconds
+add_text 30 Seconds
[0xdeadbeef] [0x00000000] [0x000000C4] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 30 Seconds
+add_text 1 Minute
[0xdeadbeef] [0x00000000] [0x000000C5] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 1 Minute
+add_text 2 Minutes
[0xdeadbeef] [0x00000000] [0x000000C6] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 2 Minutes
+add_text 5 Minutes
[0xdeadbeef] [0x00000000] [0x000000C7] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 5 Minutes
+add_text 10 Minutes
[0xdeadbeef] [0x00000000] [0x000000C8] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 10 Minutes
+add_text 20 Minutes
[0xdeadbeef] [0x00000000] [0x000000C9] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 20 Minutes
+add_text 30 Minutes
[0xdeadbeef] [0x00000000] [0x000000CA] (0x0175) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) 30 Minutes

can anyone help me. what am i doing wrong?

newcasper
17-11-2003, 03:30 PM
ur counter is always decreasing one
loooooool
why ?

Screensaver
[0x00000000] (0x03) (0x80) (0x0000) [0x00000000]

let it
Screensaver
[0x00000000] (0x04) (0x80) (0x0000) [0x00000000]


and

+add_text Type
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Type
[0x00000000] (0x01) (0x80) (0x0000) [0x00000000]


let it

+add_text Type
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Type
[0x00000000] (0x02) (0x80) (0x0000) [0x00000000]


and so on

hakhawk
18-11-2003, 02:59 PM
yeh that was my bad. a was also trying to run script instead of writing menu structure. doh.
now i am having a prob with clock script. it comes up with error at end: X:\public_html\nokia\g3nolite\asm.c:957 unassigned data offset

2dec:
located at: 0x000D380C
----------------------------------
ldr at: 0007D2A8
ldr at: 0007D2AA
ldr at: 000B880A
own_get_ram:
FATAL: not found - sorry
----------------------------------
function name own_get_ram not found in flash, will create it
found 0048 bytes for function own_get_ram at 0x0012B92C
- bl: 0012B93A -> 00095398: F7 69 FD 2D
- bl: 0012B946 -> 000EC4DC: F7 C0 FD C9
ERROR: own_get_ram data-offset #0 not defined yet
sorry, could not create it... ;( did u do already a SPC: with enough free bytes?
#####
##### ERROR processing
##### <ext: own_get_ram = own_get_ram>
##### line 44
#####

any ideas what is wrong? and when i write menu structure with following file, i get an error: 988 generating failed, error reading menus file.

newcasper
18-11-2003, 05:07 PM
1st we will speak abt ur menu
there is something missing in all header menus
for example u make:

+add_text Screensaver
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000) Screensaver
[0x00000000] (0x04) (0x80) (0x0000) [0x00000000]

but it should be:

+add_text Screensaver
[0xdeadbeef] [0x00000000] [0x00000000] (0x0175) (0x0387) (0x0000) (0x0000) (0x0000) (0x0000)
[0x00000000] (0x04) (0x80) (0x0000) [0x00000000]
[0x00000000] [0x00000000] [0x00000000] (0x0175) (0x00DC) (0x0000) (0x0000) (0x0000) (0x0000)


and do so on with the other menus

abt the clock patch
it may be u do not have enough free mcu space
try use fls space to enlarge mcu space if it was small