This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFgo Studio: file generation failed wuth error code 0x3

Hello,

Trying to make GATT services configuration for nRF8001 chip in nRFgo studio. On services.h file generation I see Generation of source files failed window with "Generate cmds failed Error code: 0x3" at the log message end.

If I remove last pipe or last service the file is sucesfully generated. Seems like reaching some size threshold which I don't want to beleive as aimed to 30-40 pipes in my application... :) 

What is Error code 0x3? What could be the reason for that ?

XML conf file and full log message are below

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Generating code
Calling init with format code set to:0x3 Security set to: 0x0
Init called with apperance:0000
Init called with with clocksource: 0x1 Clock accuracy: 0x1 16MHz clock bypass setting set to 0x0
Init called with dcdc converter enable set to 0x0
Init called with devicenamewritelength 0x0
gap_set_device_name name: My Deviceshort length: 0x6length: 0x9
ublue_setup_sec_set_params called with: auth_req: 0x0 io caps: 0x0 oob: 0x0 minimum size: 0x7 maximum key size: 0x10 bond timeout: 0x258 security request delay: 0xa
Disabeling window limiting
ublue_setup_hw_set_window_limit called with: limit set to: 0xff auto off counter set to: 0xff dropedPacketThreshold set to: 0xff
hw_set_active_signal called with mode: 0x0 and distaceToTick: 0x0
hw_ad_set_tx_power called with inital power: 3 and gain set to: 0
ublue_setup_gap_set_ppcp called with inital minimum: 0xffff maximum 0xffff slave latency: 0x0 timeout multiplier: 0xffff
Printout of table passed to ublue_setup_assign_vs_uuids
Nr: 0: 0x1f 0x60 0x78 0xb6 0x71 0x8f 0xf3 0xb1 0x8f 0x4c 0x47 0xba 0x0 0x0 0x91 0x3f
Adding primary service with UUID: 0x180a base index: 0x1 and with location set to: 0x1
Adding characteristic with uuid: 0x2a24base: 0x1 maxdatalength: 8 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 8 default value: nRFxxxxx forceToOpen 0x0 forceEncryption 0x0
Adding characteristic with uuid: 0x2a25base: 0x1 maxdatalength: 4 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 4 default value: 1587 forceToOpen 0x0 forceEncryption 0x0
Adding characteristic with uuid: 0x2a27base: 0x1 maxdatalength: 2 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 2 default value: Bx forceToOpen 0x0 forceEncryption 0x0
Adding characteristic with uuid: 0x2a26base: 0x1 maxdatalength: 4 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 4 default value: 01.1 forceToOpen 0x0 forceEncryption 0x0
Adding characteristic with uuid: 0x2a29base: 0x1 maxdatalength: 20 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 19 default value: NordicSemiconductor forceToOpen 0x0 forceEncryption 0x0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AttributeServer>
<Profile Version="1.3">
<SetupId>0</SetupId>
<Device>nRF8001_Dx</Device>
<Service Type="local" PrimaryService="true">
<Name>Device Information</Name>
<Uuid>180a</Uuid>
<Characteristic>
<Name>Model Number String</Name>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thank you!