View unanswered posts | View active topics It is currently Sun Jun 25, 2017 12:37 pm



Reply to topic  [ 9 posts ] 
Firmware on GitHub not working 
Author Message

Joined: Tue Mar 05, 2013 1:45 pm
Posts: 6
hello

I tried to run the example BLE-Shield-16bytes-rx-v1.0.1 from github w/o success.
When I try to compile it with bgbuild.exe I get:

baudm:59 baude:9 rate:19226
UART channel:1
baudrate :19200
actual :19226
error% :0.135417
alternate f:1
ports:60
Error, Unknown event in line 125
c:/Users/monaco/Desktop/_work/test/Bluegiga BLE112 SDK/ble-1.1.0-55/ble/bin/script_compiler.exe error:-1


So the error indiacates that the event "system_endpoint_rx(endpoint, data_len, data_data)" is not know. In the documentation @ Bluegiga I also dont't find that event.
The only thing I found was the event "system_endpoint_watermark_rx(endpoint, data)"

So, what is wrong here?

Thanks
Marco


Tue Mar 05, 2013 4:50 pm
Profile
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hello Marco,

of course it is working!
Are you sure that you are using v1.0.3-43 of the SDK to compile the firmware?

See the notes in the readme on the github main page:

The Firmware v1.0.0 and v1.0.1 for the BLE112 module on the BLE-Shield was created and compiled for the Bluegiga BLE112 SDK v1.0.3 Build 43

Cheers,
Michael.


Tue Mar 05, 2013 8:00 pm
Profile WWW

Joined: Tue Mar 05, 2013 1:45 pm
Posts: 6
Sorry my fault...

Thanks!!

Now it compiles, but I have to deal with another issue:

Resulting user configuration exceeds maximum size.
size is currently limited to:2028
size:2265


So, what is the "user configuration"? Where do I need to save some bits? In the .bgs file?

Thanks, Marco


Tue Mar 05, 2013 11:21 pm
Profile
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hi Marco,
have you changed the script after you downloaded it from github?

Cheers,
Michael.


Wed Mar 06, 2013 8:31 pm
Profile WWW
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hello Marco,
I grabbed the v1.0.1 firmware from github, compiled it:

baudm:59 baude:9 rate:19226
UART channel:1
baudrate :19200
actual :19226
error% :0.135417
alternate f:1
ports:60

and flashed it successfully to the BLE-Shield. So it definitely works! :-)
There is not too much space left for adjustments.
I'll publish v1.1.0 using the latest SDK v1.1.1 from BlueGiga as soon as it goes final.

Cheers,
Michael.


Wed Mar 06, 2013 9:58 pm
Profile WWW

Joined: Tue Mar 05, 2013 1:45 pm
Posts: 6
Hello

sorry for my late answer.
Sound a little bit weird, because for it it look like that the event "system_endpoint_rx" doesn't exist anymore with the new SDK version.. But if it works for you then maybe I have another issue...
Now I tried it with the official release SDK version and there it is ok for me and my code as I said above.

I haven't tried it now with you code from github but I will do asap.

Furhtermore, do you now what the "user configuration" is, so how can I reduce the "maximum size"?

Thank you very much.

Regards, Marco


Fri Mar 08, 2013 4:20 pm
Profile
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hello Marco,
if you are not using the code on github, which one are you refering to or trying to compile?
The current BLE-Shield code is developed using SDK v1.0.3-43.
Newer versions are not supported, since the current implementation is not yet using the watermark features.

What is the "user configuration" you are mentioning?

If you are working on a firmware on your own, which does not compile, it is difficult to help if you are not sharing it.

What excatly are you doing? I still have no clue.

Cheers,
Michael.


Sun Mar 10, 2013 1:08 pm
Profile WWW

Joined: Tue Aug 13, 2013 6:08 pm
Posts: 1
Hi,

I'm trying to compile the firmware on github, but although I did get it burned into the ble chip, I'm not getting the same ad packet that the original firmware.
The original firmware has the name in the ad packet and my compiled version has the uuid instead.
What am I doing wrong?
This is what I get on the original firmware preloaded into the shied:
0201061509424c452d536869656c6420203830363734373345
This is what I get on my compiled version using v1.0.0 source:
0201061107f92036f174bdb68ed64507efd76f26f9

As you can see, the original firmware advertises 21 bytes (0x15) ad type 0x09 (Complete local name) and my compiled version advertises 17bytes (0x11) ad type 0x07 (Complete list of 128-bit UUIDs available).
How can I make the ad packet contain the local name instead of uuid?


Tue Aug 13, 2013 10:23 pm
Profile
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hi,
which version of the SDK are you using?
In order to compile the firmware which is on github you must use SDK v 1.0.3 b43

Which version of the firmware are you trying to compile?

Regards,
Michael.


Tue Aug 13, 2013 11:09 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.